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

912 B
Raw Blame History

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.