7 Commits

Author SHA1 Message Date
faaf4111bb TODO: REVIEW THIS FUNCTION Add function to print AST 2025-04-01 23:54:31 +02:00
da51d66bb2 Match ast nodes to new grammar 2025-04-01 22:09:36 +02:00
39a4b2b0a7 Fix memory leak in ast.
If a node has children the array of children was never freed.
2025-04-01 21:51:48 +02:00
208f30ac48 Expand AST node ids to support the lexer tokens and grammar rules 2025-04-01 19:26:54 +02:00
0bf4ba3a1b Fix ast nodes now containing token entry instead of token 2025-04-01 17:20:32 +02:00
a298e99895 Add invalid ast node id 2025-04-01 15:06:42 +02:00
0f6efa8050 Add basic AST functionality
All checks were successful
Validate the build / validate-build (push) Successful in 24s
2025-03-31 18:43:50 +02:00