phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
@ -14,7 +14,7 @@ Status: active (Stage B → C 準備)
|
||||
Stages(概要)
|
||||
- Stage A(完了)
|
||||
- 文字列スキャンで整数抽出→print、if(リテラル条件)の最小到達。
|
||||
- サンプル: `apps/selfhost-vm/mini_vm*.nyash`
|
||||
- サンプル: `apps/selfhost-vm/mini_vm*.hako`
|
||||
- スモーク(v2): `tools/smokes/v2/run.sh --profile quick --filter "mini_vm|selfhost"`
|
||||
- Stage B(進行中)
|
||||
- stdinローダ(`NYASH_MINIVM_READ_STDIN=1`)[実装済]
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
Week 1 — LoopForm MVP(while, break/continue無し)
|
||||
- 目標: whileループを“キャリア(タプル)”へ正規化するユーザーマクロを実装(Nyash/PyVM)。
|
||||
- 成果物:
|
||||
- apps/macros/examples/loop_normalize_macro.nyash(MVP)
|
||||
- apps/macros/examples/loop_normalize_macro.hako(MVP)
|
||||
- ゴールデン: while基本/2変数キャリア/更新式の正規化
|
||||
- スモーク: selfhost-preexpand で自動適用→PyVM/LLVMの一致
|
||||
- 受け入れ基準:
|
||||
|
||||
@ -39,7 +39,7 @@ Constraints / Notes
|
||||
- 衛生: MacroCtx.gensym で __car_phi/__carK などの一意名を生成。
|
||||
|
||||
Integration
|
||||
- ユーザーマクロ: `apps/macros/examples/loop_normalize_macro.nyash`
|
||||
- ユーザーマクロ: `apps/macros/examples/loop_normalize_macro.hako`
|
||||
- 事前展開: selfhost‑preexpand auto(PyVM限定)で適用
|
||||
- 検証: macro‑golden + LLVM PHI健全性スモーク(空PHIなし/先頭グループ化)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user