leo/grammar
2020-11-12 12:00:27 -08:00
..
benches rename ast -> grammar 1 2020-10-30 17:17:17 -07:00
src rename leo ast -> ast 2020-11-12 12:00:27 -08:00
tests bump versions fix conflicts 2020-11-11 12:04:48 -08:00
Cargo.toml bump versions fix conflicts 2020-11-11 12:04:48 -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.