Files
hakorune/src/mir/control_tree
tomoaki 3f81640764
Some checks failed
fast-smoke / fast (push) Has been cancelled
feat(normalization): Phase 143 P0 Step 1-2 - Pattern detection skeleton + routing
Phase 143-loopvocab P0: Steps 1-2 complete

Step 1: Pattern detection skeleton
- New file: src/mir/control_tree/normalized_shadow/loop_true_if_break_continue.rs
- Implements extract_loop_true_if_break() for pattern recognition
- Returns Ok(None) for minimal P0 scope (loop(true){ if(cond_pure) break } only)
- Unit tests for pattern detection and literal checks

Step 2: Routing integration
- Added module declaration in mod.rs
- Added import and routing in builder.rs
- Priority: Phase 131 (loop_true_break_once) → Phase 143 P0 (loop_true_if_break_continue) → Legacy

Status: Skeleton compiles  (cargo check passes)
- Full JoinIR generation deferred to Steps 3-6

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

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-19 05:52:19 +09:00
..