912 B
912 B
Phase 20.24 — Parser削除(Plan: A→B→C)
Goal
- Remove Rust parser/AST and switch to Hakorune parser with measurable safety.
A. Gate & Validate(Done)
- Wire
--parser=hakoto selfhost FlowEntry path - Add opt‑in parity canaries(quick: return/if/binop; integration: return)
- Update quick allowlist with opt‑in toggle
B. Observe & Stabilize(Pending)
- Nightly parity on representative sources(5–10 cases)
- Add CI job for quick parity (both backends)
- Document known limitations and stable error wording
C. Flip & Clean(Pending)
- Default to Hakorune parser (Rust via ENV legacy only)
- Archive→delete
src/parser/,src/ast/after one release - Scrub imports; rebuild; full smoke; announce
Notes
- Fail‑Fast is mandatory; no silent fallbacks at the boundary.
- CLI takes precedence; ENV is alias/opt‑in only.
- Keep changes minimal and reversible between A→B.