code wiki / _hdl_build / nx_langintel_router.nx

nx_langintel_router.nx

buildroot/runtime/_hdl_build/nx_langintel_router.nx

6181 B154 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind tooltopic langintel
docsdependenciesstructsconstsfunctions

about

nx_langintel_router.nx -- LangIntel LI6: the ROUTER (LADDER stage 3, actionable). Merges the per-axis count histograms from two sources (rust + llvm) into ONE RANKED capability-requirement registry for NishiLang: one row per axis (excluding the soundness-other catch-all), sorted by total oracle-bug count. Emits <out>: rank TAB axis TAB total TAB GAP TAB note. Each row = a capability the team must build against the measured 0/184 prim void. SUBCLASS of nx_ingest_base. No hw writes (Rule 26). expect_exit: 0 argv: <out-plane> <hist-plane-a> <hist-plane-b>

dependencies 3 imports · 0 importers

nx_ingest_base.nx nx_store_seed_lib.nx nx_syscalls.nx nx_langintel_router.nx

imports: nx_ingest_base.nxnx_store_seed_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main ib_refuse ib_werr ib_wr ib_slen sys_write sys_exit sys_mmap sts_load ss_open_cached ssc_init sys_mmap ↻ ssc_sig_of ss_cat sys_fstatat ssc_streq ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_cat ↻ ss_loadfile sys_map_file ss_readall ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry ssl_key_eq ss_r32 ↻ ssl_lookup

structs

none

consts

11const LR_CAP: i64 = 1048576
12const LR_OCAP: i64 = 65536
13const LR_MAXVALS: i64 = 512
14const LR_VALSTORE: i64 = 65536
15const LR_TAB: i64 = 9
16const LR_NL: i64 = 10
17const LR_STDERR: i64 = 2
18const LR_MAXCOL: i64 = 8
19const LR_PAIR: i64 = 2
20const LR_SPB: i64 = 128
21const LR_CANDCAP: i64 = 512
22const LR_ARGC_MIN: i64 = 4
23const LR_D0: i64 = 48
24const LR_D9: i64 = 57

functions

32func lr_streq(a: *u8, b: *u8) -> i64
called by 2: lr_mergemain
38func lr_cols(q: *u8, ls: i64, le: i64, sp: *i64) -> i64
called by 1: lr_merge
53func lr_atoi_slice(q: *u8, a: i64, b: i64) -> i64
called by 1: lr_merge
60func lr_merge(buf: *u8, n: i64) -> i64
88func main(argc: i64, argv: *i64) -> i64