-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.json
31 lines (31 loc) · 1.07 KB
/
test.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"kind": "Program",
"body": [
{
"kind": "BinaryExpr",
"left": { "kind": "NumericLiteral", "value": 1.0 },
"right": {
"kind": "BinaryExpr",
"left": { "kind": "Identifier", "symbol": "foo" },
"right": {
"kind": "BinaryExpr",
"left": {
"kind": "BinaryExpr",
"left": {
"kind": "BinaryExpr",
"left": { "kind": "NumericLiteral", "value": 2.0 },
"right": { "kind": "Identifier", "symbol": "x" },
"operator": "-"
},
"right": { "kind": "Identifier", "symbol": "y" },
"operator": "-"
},
"right": { "kind": "NumericLiteral", "value": 2.0 },
"operator": "+"
},
"operator": "*"
},
"operator": "+"
}
]
}