code wiki / _hdl_build / nx_authorgen_gate.nx
nx_authorgen_gate.nx
buildroot/runtime/_hdl_build/nx_authorgen_gate.nx
about
nx_authorgen_gate.nx -- ★THE ORCA PATTERN, GATED: describe -> build -> VALIDATE -> deploy, on the sovereign engine.
T1 "a rabbit with long ears" -> rabbit built, long ears MEASURED present. T2 "a four-armed monster with horns and
a tail" -> all four features MEASURED present. T3 SUBTRACTIVE causal: "a monster with two arms and no horns and no
tail" -> those parts MEASURED ABSENT (the words really drive the build). T4 "a person" -> canon human. T5 ★ANTI-
HALLUCINATION (the differentiator vs "AI writes code and hopes"): "a dragon with wings that breathes fire" builds
a body but HONESTLY reports unmet features; "a shiny spaceship" is REFUSED (no fake build). T6 determinism. T7
evidence render. license_tier: ORIGINAL expect_exit: 0
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_png.nxnx_bodyatlas.nxnx_genome.nxnx_authorgen.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
| 14 | func hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 15 | func pn(v: i64) -> i64 { let b: *u8=sys_mmap(32) as *u8; var x: i64=v; var ng: i64=0; if x<0{ng=1;x=0-x} var i: i64=31; if x==0{b[i]=48 as u8;i=i-1} while x>0{b[i]=(48+x%10) as u8;x=x/10;i=i-1} if ng==1{b[i]=45 as u8;i=i-1} sys_write(1,(b as i64+i+1) as *u8,31-i); return 0 } |
| 16 | func inside(x: i64, y: i64, z: i64) -> i64 { if ba_sdf(x, y, z, 1) < 0 { return 1 } return 0 } |
| 17 | func top_at(x: i64, z: i64, yhi: i64, ylo: i64) -> i64 |
| 22 | func clearfb(fb: *i64, n: i64, c: i64) -> i64 { var i: i64=0; while i<n { fb[i]=c; i=i+1 } return 0 } |
| 24 | func main() -> i64 |