docs(joinir): Phase 232-239 documentation and ExprLowerer refinements
Documentation: - Move completion reports to docs/archive/reports/ - Add phase232-238 design/inventory documents - Update joinir-architecture-overview.md - Add doc-status-policy.md Code refinements: - ExprLowerer: condition catalog improvements - ScopeManager: boundary clarifications - CarrierInfo: cleanup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -162,3 +162,11 @@ Phase 230 の時点では「どの箱をどこに収めるか」をざっくり
|
||||
結論として Phase 230 は、JoinIR ラインにおける「式」と「スコープ」の SSOT を見据えた
|
||||
**設計フェーズ(ドキュメントのみ)** として完了させるイメージだよ。
|
||||
|
||||
補足(Phase 231 時点の実装状況メモ):
|
||||
|
||||
- `src/mir/join_ir/lowering/expr_lowerer.rs` / `scope_manager.rs` には、Phase 231 のパイロット実装が入っている。
|
||||
- コンテキストは `ExprContext::Condition` のみサポート。
|
||||
- 実装は ScopeManager → ConditionEnv を構築してから、既存の `lower_condition_to_joinir` に委譲する薄いラッパー。
|
||||
- `pattern2_with_break.rs` では **バリデーション専用(結果は捨てて、実際の lowering は従来経路)の呼び出し**になっている。
|
||||
- 本ドキュメントは「最終的に目指す ExprLowerer/ScopeManager 像」の設計であり、Phase 231 の実装はあくまで
|
||||
その前段階のパイロットという位置づけだよ(実装が完全にこの API 図のとおりになっているわけではない点に注意)。
|
||||
|
||||
Reference in New Issue
Block a user