updated examples a tiny bit

gonna start work on actual compiler now
This commit is contained in:
SpookyDervish
2025-10-13 18:03:13 +11:00
parent 985af13d6a
commit 4e17674361
4 changed files with 23 additions and 5 deletions

View File

@@ -7,13 +7,29 @@
"expr": {
"type": "InfixExpression",
"left_node": {
"type": "IntegerLiteral",
"value": 5
"type": "InfixExpression",
"left_node": {
"type": "InfixExpression",
"left_node": {
"type": "IntegerLiteral",
"value": 5
},
"operator": "+",
"right_node": {
"type": "IntegerLiteral",
"value": 5
}
},
"operator": "*",
"right_node": {
"type": "IntegerLiteral",
"value": 3
}
},
"operator": "+",
"right_node": {
"type": "IntegerLiteral",
"value": 5
"value": 2
}
}
}