Phase 195 implementation complete (Lowerer side): - loop_with_if_phi_minimal.rs: multi-carrier PHI generation (sum + count) - pattern3_with_if_phi.rs: dynamic single/multi-carrier handling - ExitLine/CarrierVar.join_id: NO CHANGES NEEDED (existing infra worked!) - YAGNI principle validated - PhiGroupBox was not necessary Blocker discovered: Nested Select→Branch+Phi conversion bug - JoinIR correctly generates: ValueId(20) = phi [(bb3, 14), (bb4, 18)] - MIR incorrectly produces: %27 = phi [%28, bb8], [%32, bb9] (undefined) - Root cause: joinir_block.rs Select expansion (bridge layer) - NOT a Phase 195 issue - pre-existing bug in Select conversion Phase 196 planned (NEW): - 196-1: Document select_expansion / instruction_rewriter responsibilities - 196-2: Formalize "1 Select = 3 blocks + 1 PHI" interface - 196-3: Debug block reuse / block ID mapping - 196-4: Fix and E2E test (phase195_sum_count.hako → 72) Documentation updates: - phase195-pattern3-extension-design.md: Implementation Status section - CURRENT_TASK.md: Phase 195 complete + Phase 196 TODO - joinir-architecture-overview.md: P3 Lowerer complete, bridge blocker noted Key insight: "Pattern side is done, problem is in bridge side" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Nyash Development Documentation 🔧
開発者向けの進行中タスクと開発計画ドキュメントです。
📂 ディレクトリ構造
current/
CURRENT_TASK.md- 現在進行中のタスク- アクティブな開発作業の詳細
- 最新の実装状況
roadmap/
- phases/ - フェーズ別開発計画
- phase-8/ - AST→MIR変換
- phase-9/ - VM/JIT実装
- phase-10/ - AOT最適化
- native-plan/ - ネイティブビルド計画
- 実行バックエンド統合
- パフォーマンス目標
proposals/
- RFC(Request for Comments)
- 新機能提案
- 設計ディスカッション
🎯 重要な参照先
- 進行状況:
current/CURRENT_TASK.md - 開発計画:
roadmap/phases/ - 技術提案:
proposals/
📝 注意事項
このディレクトリの内容は開発中であり、頻繁に変更されます。
安定した仕様はreference/を参照してください。