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

2601 Commits

Author SHA1 Message Date
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
jespergravgaard
7fb310296d Converted typedef to use declarator. #121 2021-05-02 21:11:03 +02:00
jespergravgaard
fafc9a5765 Converted ranged for to use declarator. Removed support for ranged for without type. #121 2021-05-02 17:39:07 +02:00
jespergravgaard
f0970364b5 Parser now based on declarator - allowing for more advanced pointer/array syntax. Preparing for declarator-based functions. #121 2021-05-02 14:28:03 +02:00
jespergravgaard
6400ef4d88 Simplified VariableDeclaration by removing VariableDeclType. Type qualifiers are now entirely embedded inside SymbolType. #121 2021-05-01 13:08:08 +02:00
jespergravgaard
78209db593 Variable printing now in C syntax. #121 2021-04-30 17:26:46 +02:00
jespergravgaard
8fd8bb1832 Removed const/volatile from Variable. #121 2021-04-30 16:21:38 +02:00
jespergravgaard
38d62b5759 Merge remote-tracking branch 'origin/master' 2021-04-30 15:39:40 +02:00