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

@ -49,16 +49,16 @@ nyash.toml example (subject to refinement):
```
[macros]
paths = [
"apps/macros/examples/echo_macro.nyash",
"apps/macros/examples/upper_string_macro.nyash",
"apps/macros/examples/echo_macro.hako",
"apps/macros/examples/upper_string_macro.hako",
]
[macro_caps."apps/macros/examples/echo_macro.nyash"]
[macro_caps."apps/macros/examples/echo_macro.hako"]
io = false
net = false
env = false
[macro_caps."apps/macros/examples/upper_string_macro.nyash"]
[macro_caps."apps/macros/examples/upper_string_macro.hako"]
io = false
net = false
env = false
@ -79,7 +79,7 @@ Phase2 PoC maps these to the child process environment/sandbox:
## Diagnostics/Observability
- Trace JSONL: `NYASH_MACRO_TRACE_JSONL=<file>` produces one JSON record per pass with size/time/change flags.
- Dump expanded AST: `--dump-expanded-ast-json <file.nyash>` prints AST JSON v0 postexpansion for golden diffs.
- Dump expanded AST: `--dump-expanded-ast-json <file.hako>` prints AST JSON v0 postexpansion for golden diffs.
- Strict mode failures are surfaced with nonzero exit codes (2/124).
## Recommendations