1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-28 11:51:09 +00:00
Commit Graph

2910 Commits

Author SHA1 Message Date
jespergravgaard
ce28c50d34 updated tests 2023-05-19 11:06:44 +02:00
jespergravgaard
18f6923e4f Improved inline ASM checking 2023-04-10 11:49:51 +02:00
jespergravgaard
9dc17caab2 Made statement loops simpler. 2023-04-10 11:37:50 +02:00
jespergravgaard
55bec51f09 Made statement loops simpler. 2023-04-10 11:19:32 +02:00
jespergravgaard
c78b8c59b1 #815 working on moving control flow graphs into procedure compilation. 2023-04-10 10:23:00 +02:00
jespergravgaard
40182a6ad6 #815 working on moving control flow graphs into procedure compilation. 2023-04-10 00:08:44 +02:00
jespergravgaard
dfbeba7805 #815 working on moving control flow graphs into procedure compilation. 2023-04-09 23:59:49 +02:00
jespergravgaard
ac96f0b8da #815 working on moving control flow graphs into procedure compilation. 2023-04-09 23:40:37 +02:00
jespergravgaard
1fad48f8bc #815 working on moving control flow graphs into procedure compilation. 2023-04-09 22:49:53 +02:00
jespergravgaard
5905c1d5b6 Now handling uncalled procedures. 2023-04-09 11:24:22 +02:00
jespergravgaard
416184894f #815 working on generalizing the control flow graph and control flow block into an interface. 2023-04-09 00:02:48 +02:00
jespergravgaard
5a74d14b41 #815 working on generalizing the control flow graph and control flow block into an interface. 2023-04-08 22:52:15 +02:00
jespergravgaard
185bd439e4 #815 more procedure compilation 2023-04-06 22:46:28 +02:00
Jesper Balman Gravgaard
adb9688acb Merge branch '814-upgrade-java' into 'master'
Resolve "Upgrade to Java 17 - and upgrade libraries"

Closes #814

See merge request camelot/kickc!42
2023-04-06 07:08:26 +00:00
jespergravgaard
7b1b3d3708 Merge branch 'master' into 814-upgrade-java 2023-04-06 08:55:27 +02:00
jespergravgaard
a12a211d70 #814 Upgrade to Java 17 plus upgraded libraries. 2023-04-06 08:44:31 +02:00
Jesper Balman Gravgaard
7e0986196e Merge branch '372-varcall-progress' into 'master'
Working on #372 varcall. Fixed problem with returning a struct by value.

See merge request camelot/kickc!37
2023-04-05 15:32:31 +00:00
jespergravgaard
271163a25f Merge branch 'master' into 372-varcall-progress 2023-04-05 17:17:16 +02:00
Jesper Balman Gravgaard
f864f61be2 Merge branch 'add-union-initializer-c99-syntax' into 'master'
Implemented C99 compatible union initializer method, using .member= syntax...

See merge request camelot/kickc!40
2023-04-04 20:35:44 +00:00
jespergravgaard
f2b9b5bde7 FlightControl fix for #678. Improved doc. 2023-04-04 13:18:58 +02:00
jespergravgaard
b85e6fc715 FlightControl fix for #678. 2023-04-04 13:11:36 +02:00
jespergravgaard
3c52043744 FlightControl fix for #678. 2023-04-04 12:54:28 +02:00
jespergravgaard
5c86d25057 FlightControl fix for #678. 2023-04-04 12:45:38 +02:00
Flight_Control
c5f260e882 Implemented C99 compatible union initializer method.
- Added test cases.
- Reworked parser.
- Added code redesign to avoid crashes in Initializers.java.
2023-04-04 09:30:40 +02:00
jespergravgaard
08ed1deebd Working on #372 varcall. Struct of struct parameters working. 2023-04-03 10:37:54 +02:00
Flight_Control
9db2d9b960 Implemented C99 compatible union initializer method, using .member= syntax...
(cherry picked from commit ef62f80b2b693aa92bcbdfb873bad5f995b4b6ff)
2023-04-03 09:00:01 +02:00
Sven Van de Velde
51623c3657 Implemented C99 compatible union initializer method, using .member= syntax...
(cherry picked from commit f52f851127ab06064c010d310ee7d87f78e1f303)
2023-04-03 08:59:40 +02:00
jespergravgaard
594e8d688c Working on #372 varcall. Pointers to struct working. 2023-04-02 12:18:33 +02:00
jespergravgaard
2dd2f2e081 Working on #372 varcall. Fixed struct in/out by value - also when only called once. 2023-04-02 11:18:07 +02:00
jespergravgaard
9a85048003 Working on #372 varcall. Fixed struct in/out by value - also when only called once. 2023-04-02 11:17:57 +02:00
jespergravgaard
c9720722ad Working on #372 varcall. Fixed problem with returning a struct by value. 2023-04-01 19:30:19 +02:00
Jesper Balman Gravgaard
7098b28cb2 Merge branch 'error-handling' into 'master'
Catching a RunTimeException only when there is no UnknownFragmentException ...

See merge request camelot/kickc!25
2023-02-18 18:48:24 +00:00
Jesper Balman Gravgaard
addfe05454 Merge branch 'fix-procedure-code-segment-updates' into 'master'
Fixes functions declared in header files not assigned the correct code segment.

See merge request camelot/kickc!26
2023-02-18 18:47:36 +00:00
Flight_Control
5fefeac7b6 Fixes functions declared in header files not assigned the correct code segment.
So the declarations of the functions receive also the currentCodeSegment, but only when the function is defined, the currentCodeSegment is to be assigned to the function (procedure!). During declaration of functions the code segment is likely Code ...
2022-11-22 07:30:22 +01:00
Flight_Control
379a3c1999 Catching a RunTimeException only when there is no UnknownFragmentException ...
and throw either
- Compile Error
- UnknownFragmentException (passing through).
2022-11-16 22:30:37 +01:00
Jesper Balman Gravgaard
152832fd4e Merge branch '807-fix-multiplication-bug' into 'master'
Closes #807 bug when rewriting multiplication with power of 2, where the...

Closes #807

See merge request camelot/kickc!24
2022-11-13 10:23:23 +00:00
jespergravgaard
63932ef555 Closes #807 bug when rewriting multiplication with power of 2, where the constant is the left operand. 2022-11-13 11:11:27 +01:00
jespergravgaard
95aa5ec6c4 Fixed problem where the compiler sometimes deletes a resource file when called. Closes #775 2022-06-19 09:14:21 +02:00
jespergravgaard
13a7063df0 Added some fragments. 2022-05-12 18:27:55 +02:00
jespergravgaard
e15c02839d Added some fragments. 2022-04-02 10:24:24 +02:00
jespergravgaard
d4b68806f8 Added PoC script for creating executable on MacOs using jpackage. #757 2022-02-20 21:14:26 +01:00
jespergravgaard
d9d7f2cf03 touching fragment cache. 2022-02-18 10:46:49 +01:00
jespergravgaard
46f66c5499 Merge remote-tracking branch 'origin/master' 2022-02-18 09:18:17 +01:00
jespergravgaard
c7550fbd37 Updated version 2022-02-18 09:18:08 +01:00
Jesper Balman Gravgaard
4c23b4ad9f Merge branch '770-update-45gs02-to-reflect-changed-z-indexing-when-doing-ldq' into 'master'
Resolve "Update 45GS02 to reflect changed Z-indexing when doing LDQ."

Closes #770

See merge request camelot/kickc!18
2022-02-13 21:48:03 +00:00
jespergravgaard
e867c3a1d0 Updated LDQ z-indexing. 2022-02-13 22:35:08 +01:00
Jesper Balman Gravgaard
230776a2da Merge branch '766-add-huc6280-tst-instruction-addressing-modes' into 'master'
Finished implementing support for huc6280 transfer instructions with abs,abs,abs addressing mode.

Closes #766

See merge request camelot/kickc!17
2022-02-13 11:05:44 +00:00
jespergravgaard
dec47ab811 merged master. 2022-02-13 11:52:34 +01:00
jespergravgaard
2791a0e099 Finished implementing support for huc6280 transfer instructions with abs,abs,abs addressing mode. 2022-02-13 11:49:02 +01:00
Jesper Balman Gravgaard
49abe6cdb7 Merge branch '766-add-huc6280-tst-instruction-addressing-modes' into 'master'
Resolve "Add Huc6280 TST instruction addressing modes"

Closes #766

See merge request camelot/kickc!15
2022-02-12 07:22:16 +00:00