AST is working!!!!
This commit is contained in:
22
debug/ast.json
Normal file
22
debug/ast.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user