Irmen de Jong
|
f47498888c
|
optimize imports
|
2023-04-07 22:34:23 +02:00 |
|
Irmen de Jong
|
f28206d989
|
new attempt
|
2023-03-28 20:01:26 +02:00 |
|
Irmen de Jong
|
629ed74d09
|
got rid of rpn deadend code...
|
2023-03-25 18:45:17 +01:00 |
|
Irmen de Jong
|
8c0a93779b
|
added first implementation of RPN 6502 codegen - all via stackeval still
|
2023-03-17 22:28:22 +01:00 |
|
Irmen de Jong
|
9241479da4
|
add "-rpn" command line switch to transform exprs to RPN in codegen
|
2023-03-17 22:28:22 +01:00 |
|
Irmen de Jong
|
8ffca93cd5
|
added transform routine for expr -> RPN
|
2023-03-17 22:28:22 +01:00 |
|
Irmen de Jong
|
b95608f68a
|
new common ICodeGeneratorBackend interface for all code generator classes
|
2023-02-12 23:52:54 +01:00 |
|
Irmen de Jong
|
533c368e32
|
make IRFileReader's file source more general
|
2022-09-26 14:47:28 +02:00 |
|
Irmen de Jong
|
ab00822764
|
move IR optimizer to IR Codegen module
|
2022-09-19 19:41:43 +02:00 |
|
Irmen de Jong
|
b4352ad38b
|
refactor IR codegen into separate module
|
2022-09-19 19:24:24 +02:00 |
|
Irmen de Jong
|
d07d00fa41
|
Join codeAst and codeCore modules
|
2022-09-19 17:28:18 +02:00 |
|
Irmen de Jong
|
627ed51a1b
|
IR: mem mapped vars and memory slabs
|
2022-09-19 15:20:40 +02:00 |
|
Irmen de Jong
|
3091e3a1c8
|
IR support for instructions operating on cpu regs
|
2022-09-18 01:51:04 +02:00 |
|
Irmen de Jong
|
2f3e7d1c27
|
IR support for storing incbins and romsubs
|
2022-09-17 16:07:41 +02:00 |
|
Irmen de Jong
|
0e831d4b92
|
fix superfluous usage of addressOf()
|
2022-09-16 00:31:04 +02:00 |
|
Irmen de Jong
|
7294ec9a3c
|
working on address-of
|
2022-09-15 22:44:33 +02:00 |
|
Irmen de Jong
|
7dd14955c1
|
added remaining signature stuff to IRAsmSubroutine
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
6428ced157
|
added subroutine params to IRSubroutine
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
30a42ec1bd
|
IR tweak
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
aacea3e9db
|
incbin in IR
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
6886b61186
|
also output inline asm chunks
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
0744c9fa29
|
properly flatten label names for the IR code
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
502a665ffc
|
getting address-of into IR without allocations
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
3c315703c0
|
making IR file reader
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
12ed07a607
|
comments
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
101b33c381
|
split intermediate representation into separate module
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
97f4316653
|
rename IR classes
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
b0704e86f0
|
block structure
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
a182b13e5a
|
fixup for memoryslabs
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
80b630a1e4
|
added memoryslabs to symboltable
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
475efbe007
|
steps to make actual IR based on VM code. For now, as experimental codegen.
|
2022-09-13 23:06:05 +02:00 |
|
Irmen de Jong
|
f3960d21a8
|
fix xmlwriter
|
2022-08-21 19:12:01 +02:00 |
|
Irmen de Jong
|
40aa733ea7
|
clearer name
|
2022-08-15 20:55:35 +02:00 |
|
Irmen de Jong
|
6181b12ab8
|
added -esa option to override the evalstack location, and shift cx16.r0-r15 accordingly
|
2022-07-11 19:29:04 +02:00 |
|
Irmen de Jong
|
b41779bd02
|
added -D command line option to define symbols in the assembly file
|
2022-07-06 23:40:36 +02:00 |
|
Irmen de Jong
|
5a756aaed9
|
Pipe expression "|>" removed from the language
|
2022-06-12 18:41:42 +02:00 |
|
Irmen de Jong
|
710f27afa9
|
bump library versions
|
2022-06-09 22:44:17 +02:00 |
|
Irmen de Jong
|
ae45ce517e
|
cleanups
|
2022-04-03 17:33:50 +02:00 |
|
Irmen de Jong
|
95f16c38a9
|
removed 'aug' property in PtAssignment , it wasn't used for anything
|
2022-04-03 15:56:14 +02:00 |
|
Irmen de Jong
|
bb1bf6a88c
|
working on vm
|
2022-03-28 00:40:15 +02:00 |
|
Irmen de Jong
|
3b6e7eccdd
|
simplified containment check, only possible on string and arrays (as per the docs)
|
2022-03-27 16:59:55 +02:00 |
|
Irmen de Jong
|
27f6d47efa
|
working on vm codegen
|
2022-03-24 23:26:57 +01:00 |
|
Irmen de Jong
|
dbc7ad2ec4
|
no more Gosub node in new Ast, back to Functioncalls there.
|
2022-03-22 22:48:19 +01:00 |
|
Irmen de Jong
|
7b27d270a2
|
gosub only uses an identifier
|
2022-03-22 20:53:06 +01:00 |
|
Irmen de Jong
|
ff57c5e9d3
|
working on vm and new ast
|
2022-03-21 01:36:11 +01:00 |
|
Irmen de Jong
|
9b16d7c786
|
working on vm
|
2022-03-20 15:06:29 +01:00 |
|
Irmen de Jong
|
7d2bf892b1
|
added start of virtual machine compilation target
|
2022-03-19 00:57:35 +01:00 |
|
Irmen de Jong
|
a99e77093f
|
added syscall() builtin functions (only useful for experimental code gen)
|
2022-03-17 01:19:58 +01:00 |
|
Irmen de Jong
|
92737bb695
|
better handling of loadAddress
|
2022-03-13 16:21:02 +01:00 |
|
Irmen de Jong
|
9b81955544
|
optimizing new Ast
|
2022-03-13 11:49:07 +01:00 |
|