Add Intermediate monad stack for the code generation

This commit is contained in:
2024-08-27 14:21:50 +02:00
parent 2bd965bd5c
commit 0c45a9886a
3 changed files with 180 additions and 85 deletions

5
TODO
View File

@ -1,4 +1,5 @@
# Intermediate code generation
Execute the generation in a state monad and generate unique labels and
temporary variable names.
- Put symbol table in the reader monad and it to the stack
or use the state monad for everything.
- Add errors handling to the monad stack.