From ed144309fab03565e7b6963b5e5e936b658a053f Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 27 Sep 2024 00:22:44 +0200 Subject: Print numbers with multiple digits --- TODO | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index e12d98e..2710951 100644 --- a/TODO +++ b/TODO @@ -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 -- cgit v1.2.3