Commit graph

23 commits

Author SHA1 Message Date
f7441e155a
fix: mov result of return into return register allocated by the register allocator 2025-05-19 16:28:00 +02:00
314522210c
test: Add "addition" codegen test 2025-05-19 16:28:00 +02:00
2d6c68b2ed
test: Add simple e2e test runner 2025-05-19 16:28:00 +02:00
eb8cceacc4
Implement code generation for int constatns and returns 2025-05-19 16:28:00 +02:00
2be0298ee7
Skip code generation for Block, ProjNode and StartNode IrGraph nodes 2025-05-19 16:28:00 +02:00
3cfe211bf6
Add outline for x68 asm code generation 2025-05-19 16:28:00 +02:00
5988187c1d
fix: ignore build folder 2025-05-19 16:27:59 +02:00
56536cc64b
refactor: Use strategy for CodeGenerator backend
This makes it easier to switch between the code generator backends
which may help debugging.
2025-05-19 16:27:53 +02:00
SirYwell
70528858cc
Ensure main function is named correctly 2025-05-13 15:00:55 +02:00
SirYwell
837b7018b9
Special-case compound assignment analysis 2025-05-10 07:14:37 +02:00
SirYwell
b9d4e06dfc
Introduce yComp printer 2025-05-10 07:14:07 +02:00
SirYwell
6b7584b3cc
Fix slash in multi-line comment 2025-05-10 07:13:22 +02:00
SirYwell
86bb376062
Fix initialization after declaration 2025-05-07 17:28:30 +02:00
SirYwell
1f402f5b9f
Performance: Use identityHashCode for predecessors 2025-05-07 16:51:02 +02:00
SirYwell
800e3117c9
Skip unreachable code in SSA translation 2025-05-07 14:24:55 +02:00
SirYwell
cd036e26b7
Fix declared/initialized analysis 2025-05-07 14:24:27 +02:00
SirYwell
e1aefeba40
Fix tokens after main function 2025-05-07 14:23:45 +02:00
SirYwell
2edeaaaee3
Fix semantic analysis of negative hexadecimals 2025-05-06 22:37:50 +02:00
I-Al-Istannen
9c992efea7 Clarify yed and graphviz visual editor features 2025-05-05 23:40:02 +02:00
I-Al-Istannen
803529403f Mention yed live as graphviz viewer
It's auto-layouts are quite powerful and zooming to node neighbourhoods
is also pretty useful.
2025-05-05 22:48:56 +02:00
SirYwell
ce6506cb88
Adjust exit codes 2025-05-05 22:36:46 +02:00
I-Al-Istannen
6af6d2ca15 Move integer range checking to semantic analysis 2025-05-05 12:33:55 +02:00
SirYwell
192146b99d
Initial commit 2025-05-05 00:22:11 +02:00