nyash-codex
d3eff1fceb
feat(joinir): Phase 45-46 read_quoted_from IfMerge implementation
Phase 45: read_quoted_from JoinIR Frontend/Bridge
- Implement lower_read_quoted_pattern() for Guard if + Loop with break + accumulator pattern
- Add T1-T4 Route B E2E tests (all PASS)
- Create phase45_read_quoted_fixture.hako for Route A testing
Phase 46: IfMerge extension for loop-internal if-body reassignment
- Add escape handling: if ch == "\\" { i = i+1; ch = s.substring(...) }
- Use IfMerge to merge i and ch after if-body (speculative execution)
- T5 PASS: "a\"b" → 'a"b' (escape handling works!)
Dev flags:
- HAKO_JOINIR_READ_QUOTED=1: Enable Phase 45 JoinIR route
- HAKO_JOINIR_READ_QUOTED_IFMERGE=1: Enable Phase 46 IfMerge escape handling
Test results (Route B):
- T1: "abc" → 'abc' ✅
- T2: "" → '' ✅
- T3: abc → '' ✅
- T4: xx"def" → 'def' ✅
- T5: "a\"b" → 'a"b' ✅
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 17:13:52 +09:00
..
2025-11-28 17:13:52 +09:00
2025-11-04 16:33:04 +09:00
2025-11-22 01:21:38 +09:00
2025-11-22 01:59:27 +09:00
2025-11-04 16:33:04 +09:00
2025-11-26 10:17:37 +09:00
2025-11-14 20:19:00 +09:00
2025-10-31 20:45:46 +09:00
2025-11-24 18:19:31 +09:00
2025-10-31 20:45:46 +09:00
2025-11-21 06:25:17 +09:00
2025-11-18 06:39:45 +09:00
2025-10-31 20:45:46 +09:00