leo/grammar
Collin Chin 770f660f3a
Merge pull request #617 from AleoHQ/const-args
[Feature] Const Function Arguments
2021-02-04 23:05:51 -08:00
..
benches Fix the grammar benchmark 2021-02-04 09:30:38 -08:00
src Merge pull request #617 from AleoHQ/const-args 2021-02-04 23:05:51 -08:00
tests merge asg/master, clean up ast implied circuit var 2021-02-03 10:26:08 -05: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.