cli: query SSA liveness with iterative continuations

This commit is contained in:
dev committed 2026-10-11 23:44:20 +03:00
1 parent b2c551047c
commit 5c883ace54
7 files changed
+1427 -339

No files matched your search

+19
View File
@@ -856,3 +856,22 @@ Full block/if checking at 1,024 now reaches a confirmed lowerer stack failure.
Q-062 logs the independently reproduced existing parenthesized-statement
boundary discrepancy. Q-061 lowering/control/liveness, Q-060 full per-step GC
validation and Phase 6 exit gates remain open.
### Pruned-SSA liveness depth increment
The [liveness increment](../design/source-expression-depth-audit.md#pruned-ssa-liveness-continuations)
replaces recursive read/assign/After walks with one reused allocator-explicit
workspace, preserving join sets, kills, sibling exclusion, loop scans, spans
and rest frames. Host OOM does not become a liveness fact or diagnostic.
Spec, verifier/runtime, AIR/features, syntax, bundles and depth limits stay
unchanged.
Build/format, exact ordinary conformance coverage (1,793), frozen public
check/lower parity (1,423/506), lifetime/CFG/independent-error/advice suites and
418 new CLI calls pass, including original/formatted AIR through 65,536 and
runtime/fuel through 1,024. Final expanded units pass (332/332).
Scoped read-only Claude reviews found no production divergence and ran no
tests. Deep direct-query tests are distinguished from full control lowering;
repeated nested-loop scans retain a quadratic worst case. Nested-block checks
still fail in `blockBodyWant`/`expr`: shared control lowering, other callbacks,
Q-060 full per-step GC and Phase 6 exit review remain open.