feat(normalization): Phase 142 P0 - Loop statement-level normalization

Phase 142-loopstmt P0: Statement-level normalization

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-19 05:28:49 +09:00
parent 275fe45ba4
commit 4082abb30c
23 changed files with 1610 additions and 246 deletions

View File

@ -4,12 +4,15 @@
## 現在の Phase
- **Phase 132**: Exit Values Parity (VM == LLVM)
- **Phase 133**: Promoted carrier join_idTrim修正
- **Phase 134**: Plugin loader best-effort loading
- **Phase 135**: ConditionLoweringBox allocator SSOTValueId 衝突の根治
- **Phase 136**: MirBuilder Context SSOT 化(+ ValueId allocator 掃討)
- **Phase 137141**: Loop Canonicalizer前処理 SSOT導入Phase 137 フォルダに統合して記録
- **Phase 139DONE**: post-if `post_k` の return lowering を `ReturnValueLowererBox` に統一(出口 SSOT 完成)
- **Phase 140DONE**: `NormalizedExprLowererBox` 初版pure expression のみ)
- **Phase 141 P0DONE**: impure 拡張点contractを SSOT 化Call/MethodCall はまだ out-of-scope
- **Phase 141 P1DONE**: “既知 intrinsic だけ” を許可して段階投入length0
- **Phase 141 P1.5DONE**: known intrinsic registry + available_inputs 3-source merge + diagnostics
- **Phase 141 P2+planned**: Call/MethodCall 対応effects + typing の段階投入
- **Phase 142-loopstmt P0DONE**: 正規化単位を statementloop 1個へ寄せるパターン爆発を止める
- **Phase 142-loopstmt P1planned**: LLVM EXE smoke同 fixtureを追加
- **Phase 143-loopvocabplanned**: StepTree の語彙拡張loop 内 if/break/continue を「語彙追加」で吸収)
- **Phase 9192**: Selfhost depth2 coverageP5b escape recognition → lowering
- **Phase 94100**: P5b escape E2E / Trim policy / pinned + accumulatorVM/LLVM EXE parity
- **Phase 102**: real-app read_quoted loop regressionVM + LLVM EXE
@ -52,4 +55,4 @@ phases/phase-131/
---
**最終更新**: 2025-12-18
**最終更新**: 2025-12-19