summaryrefslogtreecommitdiff
path: root/docs/c1/grammar
diff options
context:
space:
mode:
Diffstat (limited to 'docs/c1/grammar')
-rw-r--r--docs/c1/grammar/index.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/c1/grammar/index.md b/docs/c1/grammar/index.md
index 5bedbfc..d70021a 100644
--- a/docs/c1/grammar/index.md
+++ b/docs/c1/grammar/index.md
@@ -59,6 +59,9 @@ The following limits are not represented in the grammar:
terribly confusing for a human reader. Consider: `#foobarbaz`.
This would parse as a `Datum` joining `#foobar` and `baz`.
+ (The ABNF does not suffer from this issue, since it explicitly
+ enumerates the join possibilities anyway.)
+
* A `Label` is the hexadecimal representation of a 48-bit integer,
meaning it allows for a maximum of 12 hexadecimal digits. Longer
values are grammatical, but signal an out-of-range error, so as to
@@ -67,6 +70,9 @@ The following limits are not represented in the grammar:
signal an invalid character error at the letter `d` if the grammar
limited a `Label` to 12 hexadecimal digits.
+ (As above, the ABNF doesn't care about this. You probably don't
+ want to use the ABNF to generate a parser anyway.)
+
## Stream-parsing strategy