1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-28 01:29:44 +00:00
Commit Graph

1936 Commits

Author SHA1 Message Date
jespergravgaard
7b81b51bc0 Rewrote constant identification to allow nested arrays/structs. TODO: function-as-array 2020-01-01 18:27:53 +01:00
Jesper Gravgaard
4af8b1a833 Added tests for initializing array inside struct using inline string and inline array initializer. 2019-12-29 15:05:24 +01:00
Jesper Gravgaard
2cf4a3c347 Added support for initializing & copying array inside struct using intrinsic memset/memcpy. 2019-12-28 22:33:52 +01:00
jespergravgaard
4bd3d4a6b1 Working on structs with arrays. 2019-12-28 02:14:05 +01:00
jespergravgaard
b72b2f5910 Fixing struct size for structs containing arrays. 2019-12-28 01:59:26 +01:00
jespergravgaard
e8a0478e5f Implemented C-classic struct functionality for loadstore struct variables. Works for most scenarios: declaration, initialization, assignment, member-access. Structs containing arrays not working yet. 2019-12-27 22:35:05 +01:00
jespergravgaard
3b043e11a7 Changed syntax for function signatures. 2019-12-26 09:51:41 +01:00
jespergravgaard
34ca539dd5 Add support for upper/lower case expansion of filename in linker script. Closes #345 2019-12-26 09:28:53 +01:00
jespergravgaard
08d268f130 Added some hardcoded address parameter tests. 2019-12-26 00:57:19 +01:00
jespergravgaard
655dc48b7b Added tests for __address(). VariableBuilder turns __address() into multiple-assignment. Fixed errors for multiple-assignment variables. 2019-12-26 00:17:01 +01:00
jespergravgaard
6ce7ac901e Added another volatile test. 2019-12-25 23:03:40 +01:00
jespergravgaard
32752eb4cb Improved C64 KERNAL loading example. 2019-12-25 20:26:03 +01:00
jespergravgaard
1e9162ca9c Added C64 KERNAL loading example. 2019-12-25 19:54:02 +01:00
jespergravgaard
849485efcc Added a few tests of volatile keyword. 2019-12-25 17:37:44 +01:00
jespergravgaard
c33794f776 Aligned error messages. 2019-12-25 17:10:40 +01:00
jespergravgaard
23a91ef3d3 Fixed volatile support. 2019-12-25 17:04:08 +01:00
jespergravgaard
0c19d01afd Added more nomodify support. 2019-12-24 12:59:51 +01:00
Jesper Gravgaard
6b7a0ed92b Added no-modify support. 2019-12-24 11:05:32 +01:00
jespergravgaard
593a8428a0 Fixed Variable.toString() 2019-12-22 23:22:02 +01:00
jespergravgaard
f1a897e37b Fixed Variable.nomodify 2019-12-22 23:15:52 +01:00
jespergravgaard
7e4d4ad4ff Fixed Variable.nomodify 2019-12-22 23:12:14 +01:00
jespergravgaard
3abd8bed01 Moving Variable properties towards semantic names (nomodify, volatile, optimize, ...). 2019-12-22 23:05:59 +01:00
jespergravgaard
be3dc4a45e Moving Variable properties towards semantic names (nomodify, volatile, optimize, ...). 2019-12-22 22:53:28 +01:00
jespergravgaard
2fddd14a0a Moving Variable properties towards semantic names (nomodify, volatile, optimize, ...). 2019-12-22 22:31:20 +01:00
jespergravgaard
574f21b25a VariableBuilder has replaced VariableBuilderContext. 2019-12-22 22:16:18 +01:00
jespergravgaard
9811e48039 VariableBuilder has replaced VariableBuilderContext. 2019-12-22 22:04:30 +01:00
jespergravgaard
e103a783ce Working in VariableBuilder for creating variables based on type/scope, directives and configuration. 2019-12-22 18:19:20 +01:00
jespergravgaard
4f7485f4e5 Working in VariableBuilder for creating variables based on type/scope, directives and configuration. 2019-12-22 11:53:37 +01:00
jespergravgaard
4c443c1034 Updated test data. 2019-12-21 10:38:44 +01:00
jespergravgaard
17a9e90f2b Working on new VariableBuilder. 2019-12-16 22:51:59 +01:00
jespergravgaard
3b297ef85d working on struct strategy 2019-12-14 09:50:26 +01:00
jespergravgaard
56fdce0d5c working on struct strategy 2019-12-14 09:50:17 +01:00
jespergravgaard
cff815f5d7 Restructured Variable creation to make it more explicit what type is being created. 2019-12-08 17:49:14 +01:00
jespergravgaard
2bad8c915f Improved log message. 2019-12-08 16:04:35 +01:00
jespergravgaard
0e5087c99a Improved test. 2019-12-08 15:47:00 +01:00
jespergravgaard
cd62004812 Fixed test data with ASM optimization. 2019-12-08 15:21:23 +01:00
jespergravgaard
ad28ad18f9 A very early grid bob. 2019-12-08 15:16:32 +01:00
jespergravgaard
9daf5d7dc8 Added an ASM optimization 2019-12-08 13:25:34 +01:00
jespergravgaard
caec30ff0b Now both Vogel Sunflower Bobs & Sprites. 2019-12-01 14:04:18 +01:00
jespergravgaard
7aff220a6e Working on Vogel Sunflower Bobs. 2019-11-30 23:57:23 +01:00
jespergravgaard
4a273bd2dd Added missing fragment 2019-11-28 22:49:28 +01:00
jespergravgaard
46096f63cd Added missing fragment 2019-11-28 08:27:26 +01:00
jespergravgaard
d5f7a914f8 working on prebob. 2019-11-28 08:25:00 +01:00
jespergravgaard
87ab93f0ee Updated test with better fragment. 2019-11-24 23:53:07 +01:00
jespergravgaard
99f02843c2 Added better fragment. 2019-11-24 23:14:45 +01:00
jespergravgaard
5463c3174e Added pre-calculated char BOBs. 2019-11-24 23:00:44 +01:00
jespergravgaard
1883da7a86 Minor refactoring. 2019-11-24 11:19:57 +01:00
jespergravgaard
59ab4e0eb1 Improved variable constructors. Improved constant comments. 2019-11-23 23:46:46 +01:00
jespergravgaard
7b71a62924 Removed two passes that are no longer needed. 2019-11-23 19:15:31 +01:00
jespergravgaard
4d9c23b6bc Removed isConstant from Variable (now using Kind). 2019-11-23 18:44:43 +01:00