mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
f57a0cc497
Implement console functions |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml | ||
README.md |
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.