code wiki / _hdl_build / nx_game_genre_census.nx
nx_game_genre_census.nx
buildroot/runtime/_hdl_build/nx_game_genre_census.nx
about
nx_game_genre_census.nx -- SYNC: the universal Nishi-builder catalog + game runtime <-> the game ECOSYSTEM's
ingest registry. Reads knowledge/store/nx_game_genres.reg (the 441-game, 17-genre catalog ingested by
nx_game_ingest), and for EACH genre grades coverage from on-disk FACTS (never self-scored):
EXCEEDS = a measured gate for that genre's emitter opens on disk; PRESENT = the emitter organ opens;
ABSENT = no organ yet. The genre->organ map is carried IN-ORGAN (data-as-code, like nx_game_research_census).
LIAR-KILL: a NEG-CTL fabricated-genre row mapped to a fabricated organ must NEVER grade PRESENT/EXCEEDS.
Print-only, sovereign (no tsv/json written). This is the genre-coverage census the ecosystem's NEXT-RUNGS
asked for, and it records the Platformer genre as newly covered (catalog -> nx_game_render runtime). license_tier: ORIGINAL expect_exit: 0
census-subject: product-surface
INSTRUMENT-UPGRADED 2026-07-10: + UI/PRODUCT AXES -- genre coverage counts an EMITTER; product truth asks
what the emitted genre PLAYS like vs the dated bars (pb_godot/luanti/veloren 2026-07-09, rh_ health 07-10).
dependencies 2 imports · 0 importers
imports: nx_game_synth.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
| 15 | func w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 16 | func wn(v: i64) -> i64 { var m: i64=v; if m<0{w("-" as *u8);m=0-m} let t:*u8=sys_mmap(24); 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; let o:*u8=sys_mmap(24); while i<k{o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 } |
| 17 | func gstr(g: i64) -> *u8 { if g==4 { return "EXCEEDS" as *u8 } if g==3 { return "PRESENT" as *u8 } return "ABSENT " } called by 1: gc_grade |
| 20 | func gc_name(line: *u8, ll: i64, out: *u8) -> i64 called by 1: main |
| 26 | func gc_map(name: *u8, nl: i64, ob: *i64, eb: *i64) -> i64 |
| 50 | func gc_skip(name: *u8, nl: i64) -> i64 |
| 56 | func gc_grade(name: *u8, nl: i64, ob: *i64, eb: *i64, st: *i64, isneg: i64) -> i64 |
| 71 | func main(argc: i64, argv: *i64) -> i64 |