1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-26 12:49:21 +00:00
Commit Graph

1845 Commits

Author SHA1 Message Date
jespergravgaard
a1f490ed49 Fixed tests 2020-01-12 12:28:23 +01:00
jespergravgaard
d5f4b1f690 Init-value of global load/store memory variables is now output directly into data-statements. 2020-01-11 14:55:27 +01:00
jespergravgaard
2eb5aaa24f Added support for init-value of global load/store memory variables. 2020-01-11 13:39:10 +01:00
jespergravgaard
030a379845 Struct values can now be bulk initialized / copied in assignments. Still needs work for global variables and more. 2020-01-09 00:30:16 +01:00
jespergravgaard
26be14f7ee Working on improvements regarding global initializers and unnecessary unwinding of constant structs. Moved most unwinding to separate package. 2020-01-07 08:28:57 +01:00
jespergravgaard
4eaa0c5385 Working on improvements regarding global initializers and unnecessary unwinding of constant structs. Moved most unwinding to separate package. 2020-01-07 00:25:47 +01:00
jespergravgaard
6a9f59cda1 Working on improvements regarding global initializers and unnecessary unwinding of constant structs. Introduced RValueUnwinding for handling a single value. 2020-01-02 14:36:02 +01:00
jespergravgaard
db595d0b53 Structs with array members finally working. However import improvements remain regarding global initializers and unnecessary unwinding of constant structs. 2020-01-02 00:31:29 +01:00
jespergravgaard
8ae248b1c2 Fixed a few error messages 2020-01-01 18:47:33 +01:00
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