Add printc and exit builtin functions

This commit is contained in:
2024-10-04 18:26:10 +02:00
parent fdf56ce9d0
commit 35742aa525
20 changed files with 139 additions and 53 deletions

9
TODO
View File

@ -15,16 +15,15 @@
- Format error messages.
- Return non-zero error code on errors.
# Built-in
- Implement printc (with int argument).
- Implement exit() as standalone function.
# Register allocation
- Temporary variables always use the same register, t0. Allocate registers for
temporaries.
# Prarsing and abstract syntax tree
- Parse signed hexadecimal numbers.
# Other
- Type analysis.