Add array assignment to the IR

This commit is contained in:
2024-12-02 13:57:03 +01:00
parent 147967c04b
commit 0c40bca60b
11 changed files with 82 additions and 55 deletions

10
TODO
View File

@ -1,9 +1,3 @@
# Intermediate code generation
- To access named parameters inside a procedure, IR should be able to reference
them. During the generation the needed information (e.g. offsets or registers)
can be extracted from the symbol table and saved in the operands.
# ELF generation
- Don't ignore relocations where the symbol is not defined in the symbol table.
@ -14,7 +8,3 @@
- Each temporary variable gets a tn register where n is the variable index. If
there more variables the allocation will fail with out of bounds runtime
error. Implement spill over.
# Language
- Array support.