code wiki / _hdl_build / nx_uigen_compete.nx

nx_uigen_compete.nx

buildroot/runtime/_hdl_build/nx_uigen_compete.nx

6694 B114 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic uigen
docsdependenciesstructsconstsfunctions

about

nx_uigen_compete.nx -- COMPETITIVE census: Nishi UI-generation vs the 2025/26 field (Wix/Bluehost/Webflow/ Squarespace/Framer/GoDaddy + v0/Bolt/Lovable/Builder + GLM 5.2 + Design2Code). Reads uigen_compete.conf. LIAR-KILL: every row's claim is grounded in a sovereign-fetched source (knowledge/fetched/<ground>); no source -> UNGROUNDED. Prints the adversary's honest map: where Nishi LEADS (EXCEED = the moat) vs where it is BEHIND (GAP = the build queue, with the leader named). Refuses "beyond Wix/GLM" where we are behind. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_uigen_compete.nx

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

main sys_mmap sys_openat_rd cp sys_write sys_exit sys_read sys_close splitrow statcode cseq cwr sys_write ↻ cn sys_write ↻ sys_mmap ↻ print_status sys_mmap ↻ splitrow ↻ statcode ↻ cp ↻ cwr ↻

structs

none

consts

8const K_MAGIC_262144: i64 = 262144
9const K_MAGIC_1024: i64 = 1024

functions

11func cp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: print_statusmain calls 1: sys_write
12func cn(v: i64) -> i64 { if v==0 { sys_write(1,"0" as *u8,1); return 0 } 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; while m>0 { t[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } while k>0 { k=k-1; sys_write(1,(((t as i64)+k) as *u8),1) } return 0 }
called by 1: main calls 2: sys_writesys_mmap
13func cseq(buf: *u8, off: i64, len: i64, lit: *u8) -> i64 { var i: i64=0; while i<len { if lit[i]==(0 as u8) { return 0 } if buf[off+i]!=lit[i] { return 0 } i=i+1 } if lit[len]!=(0 as u8) { return 0 } return 1 }
called by 1: statcode
14func cwr(buf: *u8, off: i64, len: i64) -> i64 { sys_write(1, (((buf as i64)+off) as *u8), len); return 0 }
called by 2: print_statusmain calls 1: sys_write
16func splitrow(buf: *u8, ls: i64, le: i64, offs: *i64, lens: *i64) -> i64
called by 2: print_statusmain
21func statcode(buf: *u8, o: i64, l: i64) -> i64
called by 2: print_statusmain calls 1: cseq
30func print_status(buf: *u8, n: i64, want: i64) -> i64
called by 1: main calls 5: sys_mmapsplitrowstatcodecpcwr
49func main() -> i64