mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-28 04:35:33 +03:00
894e0af225
Prohibit line terminators inside string literals. (This does not prohibit escapes for line feed and/or carriage return; it prohibits actual line feeds and carriage returns, which would break the string literal across lines.) Explicate line terminators in block comments, so that an accurate line count can be obtained more readily from the CSTs. (This is more relevant to the ACL2 formal development than to the Rust implementation, which does not have explicit CSTs.) Also reorder slightly some rules within the file. |
||
---|---|---|
.. | ||
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
.