Crates.io | leo-grammar |
lib.rs | leo-grammar |
version | 1.2.3 |
source | src |
created_at | 2020-12-02 02:57:59.059171 |
updated_at | 2021-02-27 03:43:55.783461 |
description | AST generated by pest from the Leo grammar rules |
homepage | https://aleo.org |
repository | https://github.com/AleoHQ/leo |
max_upload_size | |
id | 318771 |
size | 263,539 |
To generate an AST of the Leo program and save it as a JSON file , run:
leo_grammar {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.