Print numbers with multiple digits

This commit is contained in:
2024-09-27 00:22:44 +02:00
parent 8eaeb5afa3
commit ed144309fa
9 changed files with 72 additions and 22 deletions

11
TODO
View File

@ -1,8 +1,9 @@
# Intermediate code generation
- 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?
- To access named parameters and local variables 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
@ -16,4 +17,6 @@
# Built-in
Printi should be able to print numbers with multiple digits.
Printi should print a sign for negative numbers.
# Type analysis