leo/ast
2020-07-29 01:12:17 -07:00
..
src Refactor compiler to have a separate typed ast infrastucture 2020-07-29 01:12:17 -07:00
Cargo.toml Adds AST JSON generator 2020-07-28 22:26:28 -07:00
README.md Update documentation 2020-07-28 22:36:10 -07:00

leo-ast

Command-line instructions

To generate an AST of the Leo program and save it as a JSON file , run:

leo_ast {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.