leo/ast
Howard Wu feaac9a3b9
Merge pull request #327 from AleoHQ/refactor/conditional-statement
Simplify pest grammar rule for conditional statements
2020-09-02 13:41:30 -07:00
..
benches Add license header 2020-08-18 03:50:26 -07:00
src Merge pull request #327 from AleoHQ/refactor/conditional-statement 2020-09-02 13:41:30 -07:00
tests Add license header 2020-08-18 03:50:26 -07:00
Cargo.toml chore(leo): bump version for new release 2020-08-28 23:26:19 -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.