feat(joinir): Phase 27.12 完了 - Stage1UsingResolver 骨格+テスト実装

Phase 27.12 実装内容:
-  JoinIR lowering 骨格実装 (169行)
  - stage1_using_resolver.rs 新規作成
  - Shared Builder Pattern 適用
  - MIR-based/handwritten 両経路対応
-  テスト基盤整備 (3本)
  - auto_lowering テスト (#[ignore] + トグル)
  - type_sanity テスト (常時実行)
  - no_panic テスト (軽量)
-  ドキュメント更新
  - 論文に Phase 27.12 完了記録
  - IMPLEMENTATION_LOG.md 完了マーク
  - TASKS.md チェックボックス更新

技術詳細:
- LoopForm Case A (loop(i < n))
- Pinned: entries/n/modules/seen
- Carrier: i/prefix
- Exit: prefix
- CFG sanity checks 骨格実装
- Graceful degradation 設計

ビルド:  成功 (0 エラー)
次: Phase 27.13 JoinIR 本実装

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
nyash-codex
2025-11-24 02:34:36 +09:00
parent b0311e4bd2
commit f257070668
4 changed files with 284 additions and 0 deletions

View File

@ -14,6 +14,7 @@ pub mod mir_funcscanner_ssa;
pub mod mir_joinir_min; // Phase 26-H: JoinIR型定義妥当性確認
pub mod mir_joinir_skip_ws; // Phase 27.0: minimal_ssa_skip_ws JoinIR変換
pub mod mir_joinir_funcscanner_trim; // Phase 27.1: FuncScannerBox.trim JoinIR変換
pub mod mir_joinir_stage1_using_resolver_min; // Phase 27.12: Stage1UsingResolverBox.resolve_for_source JoinIR変換
pub mod joinir_runner_min; // Phase 27.2: JoinIR 実行器 A/B 比較テスト
pub mod mir_locals_ssa;
pub mod mir_loopform_conditional_reassign;