1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-29 18:49:42 +00:00
Commit Graph

2758 Commits

Author SHA1 Message Date
jespergravgaard
6e32444f9f Working on deprecating lo/hi operators. Closes #667 2021-06-14 08:08:54 +02:00
jespergravgaard
9965ad9ede Working on deprecating lo/hi operators. Closes #667 2021-06-14 08:05:31 +02:00
jespergravgaard
0592a9e7a0 Working on deprecating lo/hi operators. Closes #667 2021-06-14 08:04:08 +02:00
jespergravgaard
10df356dda Working on deprecating lo/hi operators. Closes #667 2021-06-13 14:24:57 +02:00
jespergravgaard
d4f487eecc Working on deprecating lo/hi operators. Closes #667 2021-06-13 13:35:55 +02:00
jespergravgaard
44db8db459 Working on deprecating lo/hi operators. Closes #667 2021-06-13 13:29:49 +02:00
jespergravgaard
fa2378c38d Working on deprecating lo/hi operators. Closes #667 2021-06-13 13:16:20 +02:00
jespergravgaard
a8d84f5e60 Working on deprecating lo/hi operators. Closes #667 2021-06-13 09:47:30 +02:00
jespergravgaard
1028bd1115 Working on deprecating lo/hi operators. Closes #667 2021-06-13 09:27:50 +02:00
jespergravgaard
c2638ff86c Working on deprecating lo/hi operators. Closes #667 2021-06-13 09:23:37 +02:00
jespergravgaard
459c220af3 Working on deprecating lo/hi operators. Closes #667 2021-06-13 08:38:46 +02:00
jespergravgaard
603c53a7d3 Working on deprecating lo/hi operators. Closes #667 2021-06-13 08:22:32 +02:00
jespergravgaard
6850e4a3d9 Working on deprecating lo/hi operators. Closes #667 2021-06-13 07:57:15 +02:00
jespergravgaard
0d2dfb87b3 Working on deprecating lo/hi operators. Closes #667 2021-06-13 00:14:39 +02:00
jespergravgaard
d5759bfb6b Working on deprecating lo/hi operators. Closes #667 2021-06-12 21:11:26 +02:00
jespergravgaard
60e97ee702 Working on deprecating lo/hi operators. Closes #667 2021-06-12 21:08:42 +02:00
jespergravgaard
65847f84b3 Working on deprecating lo/hi operators. Closes #667 2021-06-12 20:57:35 +02:00
jespergravgaard
ff812d6f60 Removed support for LValue unary operator low/high <x >x. Added support for LValue BYTE0(), BYTE1(), ..., WORD0(), .... Closes #667 2021-06-11 21:41:01 +02:00
jespergravgaard
d6d1250f51 Removed special small number handling. 2021-06-11 08:51:11 +02:00
jespergravgaard
be74ec1b9e Removed byteN/wordN from intrinsics. 2021-06-11 07:44:08 +02:00
jespergravgaard
0d73070f37 Fixed problem with aliased intermediate memory variables. #666 2021-06-07 21:15:07 +02:00
jespergravgaard
194e851f0d Intermediate variables are now affected by the var_model. Closes #666 2021-06-06 23:34:29 +02:00
jespergravgaard
78e378a8e1 #666 Moved intermediate variable creation into VariableBuilder in preparation for fix of memory area. 2021-06-06 22:23:14 +02:00
jespergravgaard
1715e4f5ba Added a few fragments 2021-06-06 21:41:35 +02:00
Jesper Gravgaard
843baa6fb2 #666 working on memory model for intermediate vars 2021-06-06 12:19:05 +02:00
Jesper Gravgaard
fcb23cbf59 Added some fragments. Preparing for VariableBuilder being used for intermediate variables. 2021-06-05 09:46:47 +02:00
jespergravgaard
a24cc6267a Fixed tests. 2021-05-19 09:01:54 +02:00
jespergravgaard
5de7578bc6 Minor code clean-up. 2021-05-17 08:34:38 +02:00
jespergravgaard
fef4a88204 Minor code clean-up. 2021-05-17 08:32:33 +02:00
jespergravgaard
3d87387ae3 Updated test data. #121 2021-05-16 20:10:40 +02:00
jespergravgaard
f14dfe4252 Moved stack call parameter assignments out of pass 0. Added address-of handling for procedures converting them to stack call if they have parameters. #121 2021-05-16 10:19:21 +02:00
jespergravgaard
55e5e6bca2 Added a test for OutputFileManager. This fixes the problem with -o not being honored always. Closes #644 2021-05-15 12:38:53 +02:00
jespergravgaard
867a816eae Implemented OutputFileManager which ensures that the output directory, basename and extension follows well defined rules. Closes #663 2021-05-15 11:17:17 +02:00
jespergravgaard
f67c2712d3 Fixed support for address-of on arrays. Closes #662 2021-05-14 00:01:58 +02:00
jespergravgaard
1d44ceb206 Implemented real standard C type syntax - both for declarations and casts. Removed support for the non-standard pointer to function syntax. Closes #661 2021-05-13 11:57:17 +02:00
jespergravgaard
3ad844ada1 Fixed problem with auto-casting parameters. Closes #299 2021-05-13 11:42:07 +02:00
jespergravgaard
541b92c55b Implemented support for complex casts and parsing complex type names for sizeof(). #121 2021-05-13 10:26:33 +02:00
jespergravgaard
2ffa6e3ca8 Standard C type parsing now works! #121 2021-05-12 08:58:10 +02:00
jespergravgaard
a56016fea2 erged with original 121 branch 2021-05-11 23:27:25 +02:00
jespergravgaard
35fdd06abf Added missing test files and fixed a test. #121 2021-05-11 23:19:29 +02:00
jespergravgaard
d1b7d45372 Implemented function pointer types in standard C syntax. #121 2021-05-11 23:11:51 +02:00
jespergravgaard
9c006cf015 Removed support for auto-casting integers to pointers. Closes #659 2021-05-11 13:40:56 +02:00
jespergravgaard
d4b8820b1c Removed support for auto-casting integers to pointers. Closes #659 2021-05-11 13:36:45 +02:00
jespergravgaard
497fd2b89f Removed most of the support for auto-casting integers to pointers. #659 2021-05-10 21:27:14 +02:00
jespergravgaard
a076fde1f0 Added missing fragments from @Flight_Control. Also demonstrates problem with auto-casting integers to pointers. Closes #656 2021-05-09 10:37:14 +02:00
jespergravgaard
0174743e94 Added missing fragments from @Flight_Control. 2021-05-08 20:24:17 +02:00
jespergravgaard
799f681991 Fixed problem with constantifying struct initializers. Closes #653 2021-05-08 13:33:17 +02:00
jespergravgaard
823f2d7804 Working on type parser rewrite 2021-05-08 13:12:04 +02:00
jespergravgaard
09d11f220b Converted DeclFunction to use declarator. #121 2021-05-03 00:50:10 +02:00
jespergravgaard
d59c5315ec Converted ParamDecl to use declarator. #121 2021-05-03 00:24:37 +02:00