code wiki / _hdl_build / nx_grammatical_evolution_gate.nx
nx_grammatical_evolution_gate.nx
buildroot/runtime/_hdl_build/nx_grammatical_evolution_gate.nx
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
| none |
functions
| 18 | 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 |
| 20 | func varval(idx: i64) -> i64 { if idx==0 { return 3 } if idx==1 { return 5 } return 2 } called by 1: main |
| 21 | func varname(idx: i64) -> *u8 { if idx==0 { return "x" as *u8 } if idx==1 { return "y" as *u8 } return "z" as *u8 } called by 1: main |
| 22 | func opname(idx: i64) -> *u8 { if idx==0 { return "+" as *u8 } if idx==1 { return "*" as *u8 } return "-" as *u8 } called by 1: ge_map |
| 23 | func apply_op(op: i64, a: i64, b: i64) -> i64 { if op==0 { return a+b } if op==1 { return a*b } return a-b } |
| 25 | func ge_map(genome: *i64, out: *i64) -> i64 |
| 32 | func main() -> i64 |