code wiki / _hdl_build / nx_simlab_pack.nx
nx_simlab_pack.nx
buildroot/runtime/_hdl_build/nx_simlab_pack.nx
about
nx_simlab_pack.nx -- Compiles nx_simlab.nx to WASM and packages it into HTML using sovereign tools and syscalls.
dependencies 3 imports · 0 importers
imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 13 | const K_MAGIC_2000: i64 = 2000 |
functions
| 15 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 17 | func sp_unlink(p: *u8) -> i64 { return __syscall(263, AT_FDCWD, p, 0, 0, 0, 0) } // unlinkat (raw x86_64 263, per nx_gate_sweep) |
| 20 | func spawn(path: *u8, a0: *u8, a1: *u8, a2: *u8, redir: *u8) -> i64 |
| 47 | func fsize(path: *u8) -> i64 |
| 54 | func main() -> i64 |