mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
9e1dad2b2a
In input and output files, literals are actually insufficient to represent the most negative values of the signed integer types. Given that we are likely to need richer forms of input and output expressions anyways, at this point it seems best to allow any expression at the grammatical level, and add static semantic requirements on the allowed expressions. As done with all the other requirements, these will be stated in the Leo Reference, formalized in ACL2, and enforced in the Leo compiler. |
||
---|---|---|
.. | ||
src | ||
.gitattributes | ||
abnf-grammar.txt | ||
Cargo.toml | ||
README.md |
# ABNF Grammar
This directory contains both the ABNF grammar for the Leo language and a Rust binary to help convert the ABNF grammar file to a markdown file.
Markdown Conversion Instructions
Assuming you are in the grammar directory,
run cargo run abnf-grammar.txt > README.md
.