Generate IR and target code

This commit is contained in:
2024-09-25 23:06:02 +02:00
parent b30bbcab28
commit 8eaeb5afa3
4 changed files with 152 additions and 111 deletions

4
TODO
View File

@ -1,6 +1,8 @@
# Intermediate code generation
- Traverse the AST and generate IR.
- Calculate maximum number of arguments that a function can have. Put procedure
arguments onto the stack, above the stack pointer. Should the offsets be
calculated during IR generation or target code generation?
# ELF generation