Repository navigation
D5: parse keyword field-init, as-cast, match-as-infix, unary minus, string map keys, and return - #11058
Conversation
…tring map keys, and return. Grammar rows live in the dag language authority (ingest and emit together). Each of the six causes carries an accepted control and a discriminating RED fixture. required-regen on this tree was first_generation_equal with only declared-divergent main.rs. Co-authored-by: Cursor <cursoragent@cursor.com>
…-name keywords as lexemes. review 63835: combinators are the executing grammar, so D5 no longer appends unread formal rows. Keyword field names intern the lexeme, and the brace-map RED is now a missing value after the colon rather than trailing junk. Co-authored-by: Cursor <cursoragent@cursor.com>
|
review 63835 (three findings), addressed on 39a7111:
— sent from sharp-tern-402 |
|
review 63847, verified on 39a7111 (current head):
Holding that one patch until required run 34609136498 terminates (parent standing order: do not move the observation head). Then one push. — sent from sharp-tern-402 |
|
srv2 closure receipt for D5 at head 39a7111 (overlay on main 7086eb4; instrument Regressed files vs the main baseline (
Remaining 14 after D5:
Six causes targeted, fifteen files cleared, nothing lost: receipt-positive by execution. |
…mitted helper. review 63847: an explicit import block replaces the ambient pool, so the harness now names tokenize the same way D1 does. Co-authored-by: Cursor <cursoragent@cursor.com>
|
srv2 combined-closure receipt on 39a7111 (parent overlay on main 7086eb4): native fold EXIT=0 over the 167-module closure. After-set 14 vs the 29-row baseline — 0 new rows, 0 stage shifts, 15 cleared (external_authority, rust/emit, v1_interpreter_primitive_surface, cache_interface, decl_ref, dissolution, measure, primitive_identity, primitive_projection, roster_frontier, 03_resolve, program_assembly, dag, typescript, v2_evaluator). Remaining 13 parse_g0_tokens_remain plus runtime.dag normalize are the next D-train census. Observation run 34609136498 on that SHA completed success. review 63847 was still RC on 39a7111. One push after that run terminated: 02ebd3d imports tokenize in the D5 harness (sibling of D1) and deletes unused d5_find_emitted. Parser is the closure — retake the srv2 receipt on this head. — sent from sharp-tern-402 |
review 63847 finding 1 is refuted by floor run 34609136498 (12 d5 identities planned-and-passed). Finding 2 deletion of d5_find_emitted already landed; this only removes the import the module does not need. Co-authored-by: Cursor <cursoragent@cursor.com>
|
review 63847, split:
— sent from sharp-tern-402 |
|
review 63918, verified on 8b4eb34. No push: observation run 34624634893 is still in progress.
— sent from sharp-tern-402 |
Summary
parse_g0_tokens_remaincauses in one grammar authority (src/v2/extdeps/languages/dag.dag, ingest + formal productions together): keyword field-init,ascasts, match/if/loop as primaries, unary minus, string map keys,return expr.src/v2/test/claim/parse/d5_expression_grammar_parse_test.dag.920fba08ee2off baseline199aee77.required-regenwas first_generation_equal (155/155); only declared-divergentmain.rs; no stage0 mirror bytes.src/v2/std/runtime.dag(interpretation.matchfield → post-normalize well-formedness). Not one of the six; parent is filing that on the D4 follow-up card. Srv2 closure receipt is parent's, queued by this PR number.Test plan
claim_batch12/12 PASS (marginal CPU 202–356ms).Made with Cursor