code wiki / _hdl_build / nx_axis_discover.nx
nx_axis_discover.nx
buildroot/runtime/_hdl_build/nx_axis_discover.nx
about
nx_axis_discover.nx -- instrument roadmap R2: AXIS DISCOVERY from banked product bars. Census axes must come
FROM THE FIELD, not from what we happened to build (the backend-bias root-kill). Method: tokenize the banked
bar corpora of >=3 products in a domain (readme + release notes); a term is an AXIS CANDIDATE only with
CROSS-PRODUCT CORROBORATION (present in >=2 of 3 products -- kills one product's private vocabulary, e.g.
'voxygen' is veloren-only and must NOT surface). Emits knowledge/compare/axes/games.discovered.axes for the
census-v2 generator. VALIDATION: must rediscover the known game axes (physics/multiplayer/editor/rendering/
audio/network) AND surface axes the generic digital.axes taxonomy MISSED (the tell discovery adds value).
expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.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
| 11 | const K_MAGIC_5381: i64 = 5381 |
| 12 | const K_MAGIC_1073741824: i64 = 1073741824 |
| 13 | const K_MAGIC_16383: i64 = 16383 |
| 14 | const K_MAGIC_16384: i64 = 16384 |
| 15 | const K_MAGIC_1048576: i64 = 1048576 |
| 16 | const K_MAGIC_2097152: i64 = 2097152 |
| 17 | const K_MAGIC_262144: i64 = 262144 |
| 18 | const K_MAGIC_65536: i64 = 65536 |
functions
| 20 | func ad_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 25 | func ad_n(v: i64) -> i64 { nxi_out(v); return 0 } |
| 26 | func ad_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 40 | func ad_tooth(name: *u8, pass: i64, fails: *i64) -> i64 |
| 51 | func ad_hash(s: *u8, len: i64) -> i64 |
| 60 | func ad_stop(s: *u8, len: i64) -> i64 |
| 88 | func ad_bm(pbit: i64) -> i64 called by 1: ad_insert |
| 95 | func ad_stem(tok: *u8, len: i64) -> i64 |
| 106 | func ad_insert(tb: *i64, tok: *u8, len0: i64, pbit: i64) -> i64 |
| 150 | func ad_ingest(tb: *i64, buf: *u8, n: i64, pbit: i64) -> i64 |
| 170 | func ad_pop(bm: i64) -> i64 |
| 178 | func ad_look2(tb: *i64, s: *u8, len: i64) -> i64 |
| 199 | func ad_look(tb: *i64, s: *u8) -> i64 |
| 209 | func main() -> i64 |