BuildBox opts (structured arrays) + README note for Program→MIR CLI

- BuildBox: accept bundles/bundle_names/bundle_srcs/require_mods/alias_table via opts Map (ArrayBox/String)
- Fallback to env when opts missing; normalize empties; Fail‑Fast on resolver failure
- README: document --program-json-to-mir usage
This commit is contained in:
nyash-codex
2025-11-02 18:56:07 +09:00
parent 9c67343420
commit 65aa79b575

View File

@ -27,6 +27,10 @@ Quick pointers
- Emit object with harness: set `NYASH_LLVM_USE_HARNESS=1` and `NYASH_LLVM_OBJ_OUT=<path>` (defaults in tools use `tmp/`).
- Run PyVM: `NYASH_VM_USE_PY=1 $NYASH_BIN --backend vm apps/APP/main.nyash`.
Program(JSON v0) → MIR(JSON)
- Convert a StageB Program(JSON v0) file to MIR(JSON):
- `$NYASH_BIN --json-file /path/program.json --program-json-to-mir /tmp/mir.json`
Dev shortcuts (Operator Boxes & JSON smokes)
- Oneshot JSON verification (dev, Operator Boxes ON): `./tools/opbox-json.sh`
- Run quick profile with Operator Boxes: `./tools/opbox-quick.sh`