code wiki / _hdl_build / nx_researcher_code_gate.nx
nx_researcher_code_gate.nx
buildroot/runtime/_hdl_build/nx_researcher_code_gate.nx
about
nx_researcher_code_gate.nx -- GATE: the researcher's INTERNAL arm over our PRIVATE SOURCE CODE (the deepest exceed).
Deep-research can describe a concept in the abstract; OUR researcher retrieves the EXACT .nx organ that implements
it -- real private source, read live from disk, cited WITH A SNIPPET of the actual code. The web can never see this.
T1 a code query ("nrtl_synth") retrieves the exact source file that DEFINES it (real on-disk source signal).
T2 SNIPPET IS REAL CODE: the cited snippet, read live, contains the query token (truly-private content, not described).
T3 DETERMINISM: identical query -> identical ranking + snippet.
T4 PRIVATE EXCEED: the retrieved source is our .nx implementation -- deep-research structurally cannot access it.
expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_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
| 11 | func rw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func rn(v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; if m<0{sys_write(1,"-" as *u8,1);m=0-m} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 } |
| 13 | func cps(dst: *u8, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ dst[i]=s[i]; i=i+1 } dst[i]=0 as u8; return i } called by 1: main |
| 15 | func read_file(path: *u8, lenbox: *i64) -> i64 |
| 25 | func find_first(hay: *u8, hlen: i64, needle: *u8, nlen: i64) -> i64 called by 1: main |
| 37 | func tf_count(hay: *u8, hlen: i64, needle: *u8, nlen: i64) -> i64 called by 1: main |
| 48 | func main() -> i64 |