AST is working!!!!

This commit is contained in:
SpookyDervish
2025-10-13 17:41:07 +11:00
parent 40d695729f
commit 985af13d6a
6 changed files with 219 additions and 6 deletions

22
debug/ast.json Normal file
View File

@@ -0,0 +1,22 @@
{
"type": "Program",
"statements": [
{
"ExpressionStatement": {
"type": "ExpressionStatement",
"expr": {
"type": "InfixExpression",
"left_node": {
"type": "IntegerLiteral",
"value": 5
},
"operator": "+",
"right_node": {
"type": "IntegerLiteral",
"value": 5
}
}
}
}
]
}