Skip to content

Instantly share code, notes, and snippets.

@abcarroll
Created November 4, 2021 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abcarroll/9df6d789e481fdfbfad84b876f137aab to your computer and use it in GitHub Desktop.
Save abcarroll/9df6d789e481fdfbfad84b876f137aab to your computer and use it in GitHub Desktop.
{
"ast": [
{
"Program": [
{
"stmt": [
{
"assignment": [
{
"dimExpr": [
{
"dimExpr": [
{
"dimExpr": [
{
"dimExpr": [
{
"sigilName": "$a"
},
{
"dim": [
{
"expr": [
{
"binOp": [
{
"intLiteral": "1"
},
{
"op": "+"
},
{
"intLiteral": "2"
}
]
}
]
}
]
}
]
},
{
"dim": [
{
"intLiteral": "2"
}
]
}
]
},
{
"dim": [
{
"expr": [
{
"binOp": [
{
"intLiteral": "3"
},
{
"op": "+"
},
{
"expr": [
{
"binOp": [
{
"dimExpr": [
{
"sigilName": "$q"
},
{
"dim": [
{
"dimExpr": [
{
"dimExpr": [
{
"sigilName": "$w"
},
{
"dim": [
{
"intLiteral": "0"
}
]
}
]
},
{
"dim": [
{
"intLiteral": "0"
}
]
}
]
}
]
}
]
},
{
"op": "+"
},
{
"fnCallExpr": [
{
"name": "ha"
},
{
"param": ""
}
]
}
]
}
]
}
]
}
]
}
]
}
]
},
{
"dim": [
{
"fnCallExpr": [
{
"name": "foo"
},
{
"param": ""
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment