restore(lang): full lang tree from ff3ef452 (306 files) — compiler, vm, shared, runner, c-abi, etc.\n\n- Restores lang/ directory (files≈306, dirs≈64) as per historical branch with selfhost sources\n- Keeps our recent parser index changes in compiler/* (merged clean by checkout)\n- Unblocks selfhost development and documentation references

This commit is contained in:
nyash-codex
2025-10-31 20:45:46 +09:00
parent dbc285f2b1
commit e5f697eb22
244 changed files with 16915 additions and 47 deletions

View File

@ -0,0 +1,15 @@
// GateC Controller (Phase 20.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"
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)
}
}