12a: spec/flavour.md and AGENTS.md spell the !adf: grammar #82

Merged
lilleman merged 1 commits from prefix-spec into main 2026-09-16 09:19:21 +02:00
Owner

The colon directive grammar becomes the namespaced prefix, spec and decisions only — no code or fixture moves yet (12b, 12c).

Grammar: block container !adf:name arg {attrs} … !adf:/name, leaf the same opener with no closer, inline !adf:name[content]{attrs}, one escape \!adf:. Leaf versus container is the node's content model, so the fence-length rule goes. The carry's reserved name is carry, fence info string and inline directive alike.

AGENTS.md: §4's directive bullet and prior art, §8's escape hint and its !adf:carry / !adf:listBreak examples, and §8 gains the frozen content model.

Gate green on 16af0b9: ci.sh exit 0, 1294 tests, Node/Deno/Bun/Firefox.

The colon directive grammar becomes the namespaced prefix, spec and decisions only — no code or fixture moves yet (12b, 12c). Grammar: block container `!adf:name arg {attrs}` … `!adf:/name`, leaf the same opener with no closer, inline `!adf:name[content]{attrs}`, one escape `\!adf:`. Leaf versus container is the node's content model, so the fence-length rule goes. The carry's reserved name is `carry`, fence info string and inline directive alike. AGENTS.md: §4's directive bullet and prior art, §8's escape hint and its `!adf:carry` / `!adf:listBreak` examples, and §8 gains the frozen content model. Gate green on 16af0b9: ci.sh exit 0, 1294 tests, Node/Deno/Bun/Firefox.
lilleman added 1 commit 2026-09-16 09:16:46 +02:00
12a: spec/flavour.md and AGENTS.md spell the !adf: grammar
CI / gate (push) Successful in 24s
CI / publish (push) Successful in 4s
16af0b9592
lilleman merged commit 16af0b9592 into main 2026-09-16 09:19:21 +02:00
lilleman deleted branch prefix-spec 2026-09-16 09:19:21 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/adf-codec#82