leo/ast/README.md
2020-07-28 22:36:10 -07:00

306 B

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.