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:
nyash-codex
2025-11-06 15:41:52 +09:00
parent 2dc370223d
commit 77d4fd72b3
1658 changed files with 6288 additions and 2612 deletions

View File

@ -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`[実装済]

View File

@ -5,7 +5,7 @@
Week 1 — LoopForm MVPwhile, break/continue無し
- 目標: whileループを“キャリアタプル”へ正規化するユーザーマクロを実装Nyash/PyVM
- 成果物:
- apps/macros/examples/loop_normalize_macro.nyashMVP
- apps/macros/examples/loop_normalize_macro.hakoMVP
- ゴールデン: while基本/2変数キャリア/更新式の正規化
- スモーク: selfhost-preexpand で自動適用→PyVM/LLVMの一致
- 受け入れ基準:

View File

@ -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`
- 事前展開: selfhostpreexpand autoPyVM限定で適用
- 検証: macrogolden + LLVM PHI健全性スモーク空PHIなし/先頭グループ化)