From e3f87ad3227848efaa787616118af258efef20b4 Mon Sep 17 00:00:00 2001 From: Alessandro Coglio Date: Mon, 21 Mar 2022 17:49:38 -0700 Subject: [PATCH] [ABNF] Remove some stray documentation comments. Documentation comments were all removed from this grammar file, as readers of this file in this branch are already familiar with Leo. --- docs/grammar/README.md | 12 ++++++------ docs/grammar/abnf-grammar.txt | 6 ------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/docs/grammar/README.md b/docs/grammar/README.md index c617d5a1e5..1e10756188 100644 --- a/docs/grammar/README.md +++ b/docs/grammar/README.md @@ -204,14 +204,14 @@ hexadecimal-digit = decimal-digit / "a" / "b" / "c" / "d" / "e" / "f" Go to: _[decimal-digit](#user-content-decimal-digit)_; -An identifier is a non-empty sequence of -letters, (decimal) digits, and underscores, -starting with a letter. -It must not be a keyword or a boolean literal, -and it must not be or start with `aleo1`; -these are extra-grammatical requirements, indicated in the comment. + +```abnf identifier = letter *( letter / decimal-digit / "_" ) ; but not a keyword or a boolean literal or aleo1... +``` + +Go to: _[letter](#user-content-letter)_; + ```abnf diff --git a/docs/grammar/abnf-grammar.txt b/docs/grammar/abnf-grammar.txt index 11df03c35e..21830a6f50 100644 --- a/docs/grammar/abnf-grammar.txt +++ b/docs/grammar/abnf-grammar.txt @@ -100,12 +100,6 @@ octal-digit = %x30-37 ; 0-7 hexadecimal-digit = decimal-digit / "a" / "b" / "c" / "d" / "e" / "f" -; An identifier is a non-empty sequence of -; letters, (decimal) digits, and underscores, -; starting with a letter. -; It must not be a keyword or a boolean literal, -; and it must not be or start with `aleo1`; -; these are extra-grammatical requirements, indicated in the comment. identifier = letter *( letter / decimal-digit / "_" ) ; but not a keyword or a boolean literal or aleo1...