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

@ -342,7 +342,7 @@ impl VMManager {
#### **JSON v0 完全ローダー**
```nyash
// apps/selfhost/vm/json_loader.nyash
// apps/selfhost/vm/json_loader.hako
static box JSONLoader {
parse_mir_module(json_string: StringBox) -> MirModuleBox {
local root = me.parse_json_object(json_string)
@ -422,7 +422,7 @@ static box JSONLoader {
#### **MIR14命令完全実装**
```nyash
// apps/selfhost/vm/mir_executor.nyash
// apps/selfhost/vm/mir_executor.hako
static box MirExecutor {
stack: ArrayBox
heap: MapBox
@ -607,7 +607,7 @@ static box MirExecutor {
./tools/test/phase1/mini_vm_vs_pyvm.sh
# 期待する成功例
echo '{"functions": [{"name": "main", "body": [...]}]}' | ./mini_vm.nyash
echo '{"functions": [{"name": "main", "body": [...]}]}' | ./mini_vm.hako
# → PyVMと同一の出力
```

View File

@ -30,7 +30,7 @@ HighValue Candidates
LowRisk Cleanups
- Tools scripts: dedupe `tools/*smoke*.sh` into `tools/smokes/` with common helpers (env, timeout, exit filtering).
- Tests naming: prefer `*_test.rs` and `apps/tests/*.nyash` consistency for smokes.
- Tests naming: prefer `*_test.rs` and `apps/tests/*.hako` consistency for smokes.
- Logging: add `NYASH_CLI_VERBOSE` guards consistently; provide `runner::trace!(...)` macro for concise on/off.
Suggested Sequencing