leo/grammar
bors[bot] b72b5ac125
Merge #620
620: Feature/254 strengthen import rules r=collinc97 a=gluax

Grammar changes are a bit different than what was suggested in the original feature request #254. However, it should be logically equivalent and I think makes more sense on the rust side.

Closes #254 

Co-authored-by: gluaxspeed <jonathan.t.pavlik@gmail.com>
2021-02-11 07:31:56 +00:00
..
benches Fix the grammar benchmark 2021-02-04 09:30:38 -08:00
src Merge #620 2021-02-11 07:31:56 +00:00
tests Merge #620 2021-02-11 07:31:56 +00:00
Cargo.toml chore(leo): bump version for new release 2021-02-07 08:14:56 -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.