leo/grammar
2021-02-04 17:26:01 -08:00
..
benches Fix the grammar benchmark 2021-02-04 09:30:38 -08:00
src Update grammar convention 2021-02-04 17:26:01 -08:00
tests Update license to 2021 2021-02-01 20:26:56 -08:00
Cargo.toml Fix the grammar benchmark 2021-02-04 09:30:38 -08: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.