You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove toObject from the engine: visit + tree accessors are the only surface
The arena design's premise (PR #36) is that parse() hands out a tree to
TRAVERSE, not an object tree to materialize - toObject was the
materialization back door left on both the module API and the handle
API, and its only real consumer was the gate layer's byte-identical
JSON comparison. That is a test concern: gates now build the comparison
object through visit + tree accessors (test/emitted-obj.ts, mirroring
the interpreter's object shape and key order exactly, so the emit ≡
interp and incremental ≡ fresh comparisons are unchanged). The unused
emitted getText went with it; the interpreter keeps returning its
native object trees (that IS its representation, not a conversion).
31/31 gates, emit-parser-verify 0 mismatches, multi-doc contract 5/5,
handle-API keystroke median 0.028ms (9MB) / 0.089ms (8MB nested).
0 commit comments