docs(phase-20.33): update Gate-C(Core) status (v1→MIR interpreter), mark parity smokes done; clean up wording\nchore: remove unused bak/ (external backup kept)\nsmokes: add Gate-C v1 file/pipe opt-in canaries; env toggles documented\nrunner: include json_v1_bridge + bridge toggles (singleton/phi) wiring

This commit is contained in:
nyash-codex
2025-11-01 07:02:04 +09:00
parent cac22c1a87
commit eabeb69d77
12 changed files with 930 additions and 11 deletions

View File

@ -2,14 +2,26 @@
// Responsibility: Provide a thin, stable entry to route MIR(JSON v0)
// through the Ny/Core dispatcher when a wrapper route is needed.
include "lang/src/vm/core/dispatcher.hako"
using "lang/src/vm/core/dispatcher.hako" as NyVmDispatcher
static box GateCController {
// route_json/1: String(JSON v0) -> String(last line)
// Contract: returns a printable string (numeric or tag). No side effects.
route_json(j) {
// Delegate to the Core dispatcher runner
return call("NyVmDispatcher.run/1", j)
return NyVmDispatcher.run(j)
}
}
static box GateCControllerMain {
main(args) {
if args == null || args.length() == 0 {
print("[gate_c/core] payload missing")
return 1
}
local payload = "" + args.get(0)
local res = GateCController.route_json(payload)
if res != null { print(res) }
return 0
}
}