Files
hakorune/docs/private/roadmap/phases/phase-20.12b/README.md

28 lines
1.1 KiB
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.

Phase20.12b — SelfHost MIR Builder (Scaffold)
Status: Closed (20251027)
Objectives
- Prepare an optin, emitonly skeleton for MIR(JSON v0) generation in Hakorune.
- Keep default behavior unchanged (Rust MIR generation remains active).
Deliverables (this phase)
- lang/src/selfhost/mir_builder/{README.md,LAYER_GUARD.hako,builder.hako,phi.hako,verify.hako}
- docs/specs/mir-json-v0.md (minimal JSON v0 shape)
- docs/development/architecture/selfhost-mir-builder.md (overview)
- Smokes skeleton under tools/smokes/v2/profiles/selfhost (optin)
- GateC(Core) direct route established; front EXE chain (runner→Core) canary green
- Childenv and wrapper recursion guards unified; docs updated
NonGoals
- Replacing Rust MIR generation
- Full MIR coverage or runtime integration
Gates
- NYASH_USE_NY_COMPILER=1, NYASH_JSON_ONLY=1 (future wiring)
- NYASH_GATE_C_CORE=1Core直行SMOKES_ENABLE_CORE_CANARY=1optin検証
Next Phases
- 20.13: Scriptbuilt Front EXErunner/loader/vm契約の確立とチェーン緑化完了
- 20.14: 環境変数の大整理とFront内蔵化の段階導入現行フェーズ