leo/grammar/README.md
2021-02-10 22:27:37 -08:00

587 B

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.