0268. Compact Tenon source
- Status: Accepted; T08 cutover verified on
cand/compact-only(f77e2612). T07 live model cohorts remain unmeasured; merge/push tomainpending owner action. - Date: 2026-11-18
- Plan: Compact syntax T01–T08
- Updates: ADR-0009's surface syntax decision upon cutover
Tenon keeps the .tn extension and uses versioned
compact source as its sole authoring, interchange and execution
syntax after the migration. One fixed-arity prefix grammar
represents the existing checked language. Framed operands retain
observable names and literal bytes. The versioned primitive
dictionary can execute independently of any optional measured
dictionary.
The existing typing, plugin boundaries, interpreter, native backend and authorization model apply. Compiler tools expose exact source ranges, original binder names, named roles, short examples and checked edits. This continues ADR-0009's approach to teaching an unfamiliar language with compact reference material and corrective diagnostics. The paired benchmark still measures successful edits and includes teaching, tooling and retry costs.
Ordinary sources remain usable in a temporary migration utility and the frozen comparison environment. Active loaders, formatters, generators, scaffolds and editing tools use compact source after cutover. The experiment retains the ordinary comparison before retiring the migration utility. Promote only after the rehearsal accounts for all active sources and producers and a clean compact-only checkout passes the cutover checks.
A permanent second authoring syntax would require every producer, editor and training example to account for two representations. A compact transport wrapped around ordinary source would preserve the original authoring and parsing surfaces. The migration can instead proceed from the primitive format alone. Optional dictionary entries require separate evidence, and comparative editing claims require completed paired trials.
Primitive grammar · Acceptance ·
Cutover