leo/ast
2020-08-10 16:36:16 -07:00
..
benches Adds benchmarks for serialization 2020-08-02 20:33:05 -07:00
src add tuple to typed 2020-08-10 16:36:16 -07:00
tests allow import definition at any point in a leo file 2020-08-07 16:35:55 -07:00
Cargo.toml Adds benchmarks for serialization 2020-08-02 20:33:05 -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.