leo/grammar
Collin Chin 20a046bbbb
Merge pull request #643 from AleoHQ/feat/readme_license
Adds READMEs and LICENSEs to each Leo workspace member
2021-02-11 00:58:22 -08: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
LICENSE.md Adds LICENSE.md 2021-02-10 22:23:45 -08:00
README.md Adds README.md 2021-02-10 22:27:37 -08:00

leo-grammar

Crates.io Authors License

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.