Axon parseAst Parser
Parses the output of SkySpark's parseAst
function.
Usage
- 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.
Unimplemented
-
Exponent numbers.
- For example,
5e10
will not parse.
- For example,
-
Hexadecimal numbers.
-
Hour format [0-9]?[0-9] in time parsing.
- For example,
09:30:00
will parse, but9:30:00
will not.
- For example,
-
Fractional seconds in time parsing.
- For example,
09:30:00
will parse, but09:30:00.123
will not.
- For example,
-
Units with unicode
- This is to improve compile times with LALRPOP.
-
Currency units
- This is to improve compile times with LALRPOP.
-
Raw strings?