Parses the output of SkySpark's parseAst
function.
- Get the string output of SkySpark's
parseAst
function.- For example, run
read(func and name == "yourFunction")->src.parseAst().toAxonCode()
.
- For example, run
- Use this library's
parse
function on that string.
- It's substantially more involved to parse Axon, instead of
parseAst
's output.- We can parse
parseAst
output in under 200 lines of LALRPOP grammar.
- We can parse
- Axon appears to be an ambiguous language to parse (at least LALRPOP was claiming it was ambiguous).