nyash-codex
87e477b13e
feat(joinir): Phase 188-Impl-2 Pattern 2 (Loop with Conditional Break) implementation
Add Pattern 2 lowerer for `loop { if cond { break } body }` pattern.
New files:
- loop_with_break_minimal.rs (291 lines): JoinIR lowerer for Pattern 2
- Exit PHI receives values from both natural exit and break path
- Tail-recursive loop_step function design
Modified files:
- loop_pattern_detection.rs: Add is_loop_with_break_pattern() detection
- mod.rs: Router integration (Pattern 1 → Pattern 2 ordering)
- control_flow.rs: Add cf_loop_pattern2_with_break() helper
- loop_patterns.rs: Simplified skeleton (defer until patterns stabilize)
Test results:
- Pattern 1 (loop_min_while.hako): ✅ PASS
- Pattern 2 (joinir_min_loop.hako): ✅ PASS
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 15:28:54 +09:00
..
2025-12-04 18:49:10 +09:00
2025-12-02 18:42:21 +09:00
2025-11-21 06:25:17 +09:00
2025-11-24 14:17:02 +09:00
2025-12-03 13:59:06 +09:00
2025-11-21 06:25:17 +09:00
2025-11-22 02:43:45 +09:00
2025-11-21 06:25:17 +09:00
2025-11-21 06:25:17 +09:00
2025-11-24 14:17:02 +09:00
2025-11-21 06:25:17 +09:00
2025-11-18 18:56:35 +09:00
2025-11-21 06:25:17 +09:00
2025-11-22 05:33:40 +09:00
2025-12-05 15:28:54 +09:00
2025-11-24 14:17:02 +09:00
2025-11-21 06:25:17 +09:00
2025-11-17 00:48:18 +09:00
2025-11-30 04:35:40 +09:00
2025-11-21 06:25:17 +09:00
2025-12-04 13:32:58 +09:00
2025-11-21 06:25:17 +09:00
2025-12-04 23:51:49 +09:00
2025-12-05 14:11:49 +09:00
2025-12-05 14:11:49 +09:00
2025-12-02 21:09:15 +09:00
2025-12-05 07:47:22 +09:00
2025-11-21 06:25:17 +09:00
2025-11-24 14:17:02 +09:00
2025-11-21 06:25:17 +09:00
2025-11-24 14:17:02 +09:00
2025-11-29 09:14:24 +09:00
2025-12-02 21:09:15 +09:00
2025-09-11 05:22:52 +09:00
2025-11-21 06:25:17 +09:00
2025-11-24 15:02:51 +09:00
2025-12-03 13:59:06 +09:00
2025-12-02 22:22:32 +09:00
2025-12-04 13:32:58 +09:00