leo/grammar
Damir Shamanaev 753aa8f4a2 adds multi lines to Leo
- hacked WHITESPACE tag in Pest to treat NEWLINE as a WHITESPACE
- all the NEWLINES removed (!!!)
- console.log and member access tbd
2021-01-07 01:35:40 +03:00
..
benches rename ast -> grammar 1 2020-10-30 17:17:17 -07:00
src adds multi lines to Leo 2021-01-07 01:35:40 +03:00
tests adds multi lines to Leo 2021-01-07 01:35:40 +03:00
Cargo.toml chore(leo): bump version for new release 2020-12-14 13:57:01 -04:00
README.md rename ast -> grammar 1 2020-10-30 17:17:17 -07:00

leo-grammar

Command-line instructions

To generate an AST of the Leo program and save it as a JSON file , run:

leo_grammar {PATH/TO/INPUT_FILENAME}.leo {PATH/TO/OUTPUT_DIRECTORY (optional)}

If no output directory is provided, then the program will store the JSON file in the local working directory.