evm2term
Version:
Translates from Egg Virtual Machine (JSON) to a summarized AST term
55 lines • 912 B
JSON
{
"type": "property",
"operator": {
"type": "apply",
"operator": {
"type": "word",
"length": 5,
"name": "array"
},
"args": [
{
"type": "apply",
"operator": {
"type": "word",
"line": 1,
"col": 3,
"length": 5,
"name": "array"
},
"args": [
{
"type": "value",
"value": 1,
"line": 1,
"col": 3,
"length": 1
},
{
"type": "value",
"value": 2,
"line": 1,
"col": 5,
"length": 1
}
]
}
]
},
"args": [
{
"type": "value",
"value": 0,
"line": 1,
"col": 9,
"length": 1
},
{
"type": "value",
"value": 1,
"line": 1,
"col": 11,
"length": 1
}
]
}