From 378f8598a5a57b731948241e41f584f5172dc2a2 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Sat, 23 May 2026 22:22:57 +0200 Subject: An update of sorts. --- docs/c1/grammar/index.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/c1/grammar/index.md') 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 -- cgit v1.2.3