leo/grammar
2021-01-26 14:55:17 -05:00
..
benches rename ast -> grammar 1 2020-10-30 17:17:17 -07:00
src remove unused ParserError code 2021-01-26 14:55:17 -05:00
tests remove emacs temp file 2021-01-21 15:31:07 -05:00
Cargo.toml chore(leo): bump version for new release 2021-01-12 17:03:16 -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.