Files
hakorune/docs/private/roadmap/phases/phase-20.24/PLAN.md

25 lines
912 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Phase 20.24 — Parser削除Plan: A→B→C)
Goal
- Remove Rust parser/AST and switch to Hakorune parser with measurable safety.
A. Gate & ValidateDone
- Wire `--parser=hako` to selfhost FlowEntry path
- Add optin parity canariesquick: return/if/binop; integration: return
- Update quick allowlist with optin toggle
B. Observe & StabilizePending
- Nightly parity on representative sources510 cases
- Add CI job for quick parity (both backends)
- Document known limitations and stable error wording
C. Flip & CleanPending
- 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
- FailFast is mandatory; no silent fallbacks at the boundary.
- CLI takes precedence; ENV is alias/optin only.
- Keep changes minimal and reversible between A→B.