28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
Phase‑20.12b — Self‑Host MIR Builder (Scaffold)
|
||
|
||
Status: Closed (2025‑10‑27)
|
||
|
||
Objectives
|
||
- Prepare an opt‑in, emit‑only 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 (opt‑in)
|
||
- Gate‑C(Core) direct route established; front EXE chain (runner→Core) canary green
|
||
- Child‑env and wrapper recursion guards unified; docs updated
|
||
|
||
Non‑Goals
|
||
- 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=1(Core直行)/SMOKES_ENABLE_CORE_CANARY=1(opt‑in検証)
|
||
|
||
Next Phases
|
||
- 20.13: Script‑built Front EXE(runner/loader/vm)契約の確立とチェーン緑化(完了)
|
||
- 20.14: 環境変数の大整理とFront内蔵化の段階導入(現行フェーズ)
|