leo/ast/README.md

10 lines
306 B
Markdown
Raw Normal View History

2020-06-07 09:17:40 +03:00
# leo-ast
2020-07-29 08:36:10 +03:00
## 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.