MARK-009: mark_refdef is a hand-rolled byte scanner ragel-ize the refdef grammar

Now
OPEN
Sev
LOW

mark_refdef (MARK.c:76-101) parses the refdef line grammar with a manual scan loop (while (!u8csEmpty(s) && u8csAt(s,0) != ']') u8csUsed(s,1); ) slice-typed but still hand parsing, against the module's own doctrine (mark/README.mkd:15 "never a hand-rolled byte scan"; abc "never do manual parsing, use ragel"). It also runs TWICE per line (collector pass 1, again per-line in mark_blocks MARK.c:646). From the 2026-07-07 mark/ diagnostic review; code confirmed in-tree. Method Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome