cli: lower scalar binary operands iteratively
This commit is contained in:
1 parent
e3f4695efe
commit
6945b511a4
5 files changed
+572
-117
No files matched your search
@@ -544,3 +544,9 @@ Independent shallow descent comparisons (703), deep structural/built-in/fallback
|
||||
The [Q-061 expected-use increment](../design/source-expression-depth-audit.md#expected-use-query-continuations) replaces mutual expression/statement/block query recursion with explicit requests. Deferred comparison/shift/for hints preserve lazy search order; the outer rest cursor, top-level let rebinding barrier, cast hint removal and skipped kinds retain their original policy. Host metadata OOM is unknown without diagnostics/output; no new inference, normative/bundle/feature/code/acceptance-limit or runtime/ownership rule is introduced.
|
||||
|
||||
Independent shallow comparisons (967), 32,768-level unary/mixed/block helpers, deferred-hint allocation traps and worklist-OOM cleanup tests pass. Final build/units/format checks, all 1,793 ordinary conformance cases with exact coverage, 186 expression-depth, 635 non-value and 234 independent-error CLI checks pass; old/new public checks/lowerings remain exact (1,423/506). The previously crashing inferred-binding source accepts through 65,536 negations, while missing context retains E7007. Follow-up probes confirm separate native failures at 1,024 levels in binary lowering, parenthesized parsing and generic expression transformation. Q-061's remaining inventory, Q-060's full per-step validation and Phase 6 exit review remain open. No fresh Claude review covers this increment.
|
||||
|
||||
## Source binary operand lowering (2026-10-10)
|
||||
|
||||
The [Q-061 binary increment](../design/source-expression-depth-audit.md#binary-operand-lowering-continuations) shares scalar continuations with unary lowering, eliminating native re-entry on alternating operator trees. Eager operand type/error priority, instruction/span/name order and boolean RHS/join construction are retained; runtime short-circuit behavior and fuel remain unchanged. Worklist OOM propagates without public partial AIR. No normative/bundle/feature/code/acceptance-limit or ownership/runtime rule changes.
|
||||
|
||||
Independent binary/wrapper/context comparisons (6,048), deep left/right/mixed/boolean helpers and exact failed-allocation block prefixes pass. Build/units/format checks, all 1,793 ordinary conformance cases with exact coverage, 360 expression-depth, 635 non-value and 234 independent-error CLI checks pass; old/new public checks/lowerings remain exact (1,423/506). Arithmetic checks/lowerings accept through 65,536 operations. Boolean chains accept at 1,024; at 16,384 they reach the existing E5101 block limit (`max: 16384`, `found: 32769`), rather than aborting. Current probes retain separate parenthesized/generic failures at 1,024 levels; their callbacks and other expression/block paths still need repair/audit. Q-061, Q-060's full per-step validation and Phase 6 exit review remain open. No fresh Claude review covers this increment.
|
||||
Reference in new issue
Block a user