Support surrounding begin and end

This commit is contained in:
2024-03-10 08:50:55 +01:00
parent a3e3be5ec7
commit 2c396ece17
6 changed files with 248 additions and 41 deletions

4
TODO
View File

@ -8,6 +8,10 @@
- Allow defining variables.
- Don't pass raw pointers to the visitor methods.
- Make error abstract and derive unexpected_token in the lex module from it.
- Wrap the tokens in a struct with methods for incrementing and lookups.
- While loop.
- If condition.
- Grouping multiple statements with begin and end (compound_statement).
# Shell
- Persist the history.