code wiki / _hdl_build / nx_autonomous_expand_gate.nx

nx_autonomous_expand_gate.nx

buildroot/runtime/_hdl_build/nx_autonomous_expand_gate.nx

6966 B85 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_syscalls.nx nx_autonomous_expand_gate.nx

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

main gw sys_write sys_mmap gn resource_available sys_exit

structs

none

consts

none

functions

19func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
21func lname(i: i64) -> *u8 { if i==0 { return "silicon" as *u8 } if i==1 { return "kernel" as *u8 } if i==2 { return "language" as *u8 } if i==3 { return "compiler" as *u8 } if i==4 { return "mech-AI" as *u8 } if i==5 { return "neurosym" as *u8 } if i==6 { return "LLM" as *u8 } return "frontier" as *u8 }
23func resource_available(beat: i64) -> i64 { if (beat%4)<3 { return 1 } return 0 }
25func main() -> i64