diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2026-05-23 22:22:57 +0200 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2026-05-23 22:22:57 +0200 |
| commit | 378f8598a5a57b731948241e41f584f5172dc2a2 (patch) | |
| tree | e9352110efe5b204a5abe7e00693be2004aab4e5 /docs/c1/grammar | |
| parent | f1f134d072e375335be5c1203095115fef1db253 (diff) | |
An update of sorts.
Diffstat (limited to 'docs/c1/grammar')
| -rw-r--r-- | docs/c1/grammar/index.md | 6 |
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 |
