3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

Match a reference label to its definition under Unicode case folding

This commit is contained in:
2026-11-15 22:04:28 +01:00
committed by Lillem4n
parent 3b89637f2c
commit fe3bf6e268
13 changed files with 1890 additions and 22 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ One directory per contract kind:
`spec.json` is the suite; `refusals.json` pins each refusing example to its error `code`;
`exceptions.json` pins each known divergence by `check`, `example`, `kind` and the exact
`divergence`, with a `reason`. `kind` is `mark-model` (the permanent count divergence from ADF's
mark-per-node model), `node-model` (a permanent divergence where ADF holds no node for what
CommonMark renders) or `pending` (a parser gap).
mark-per-node model) or `node-model` (a permanent divergence where ADF holds no node for what
CommonMark renders).
JSON is two-space indent, keys sorted, and a document read back must deep-equal the fixture's
(`docs/decisions.md` §Equality is deep). `spec.json` is the vendored, upstream machine-readable
-14
View File
@@ -300,20 +300,6 @@
"kind": "mark-model",
"reason": "The mark spans adjacent text nodes, counted once per node where CommonMark nests one element."
},
{
"check": "count",
"divergence": "a 1/0",
"example": 540,
"kind": "pending",
"reason": "The case-folding shortcut reference is unresolved; CommonMark folds case and links."
},
{
"check": "text",
"divergence": "\"ẞ\" against \"[ẞ]\"",
"example": 540,
"kind": "pending",
"reason": "A case-folding shortcut reference is unresolved; CommonMark folds case and links."
},
{
"check": "count",
"divergence": "a 1/2",