nx_uxf_extract.nx
buildroot/runtime/nx_uxf_extract.nx
about
nx_uxf_extract.nx -- UXF arc R1b-3: the DATA-DRIVEN multi-source EXTRACT + CORROBORATION
pass (Rule 11 data-driven, Rule 15 DRY -- one extractor for every source, no per-source
clones). Reads a manifest knowledge/staging/uxf/raws.tsv (lines: <label>\t<raw-path>),
and for EACH source runs the proven pipeline:
sys_read_file -> split header/body at CRLFCRLF -> nx_http_dechunk (fallback to body
as-is) -> nx_html_to_text_x -> pattern-count a broadened decoupling term set.
Then reports CROSS-SOURCE corroboration (a concept present in >=2 sources = corroborated,
the researcher's admission rule). Mechanical (terminology-literal) -- NOT semantic NLP.
No hardware/persistent writes (Rule 26). expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_http_dechunk.nxnx_html_to_text.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
| 13 | const K_MAGIC_4194304: i64 = 4194304 |
functions
| 15 | func ux_puts(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 ux_putn(v: i64) -> i64 { let bb: *u8 = sys_mmap(28); var m: i64 = v; if m < 0 { m = 0 - m; sys_write(1, "-" as *u8, 1) } 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 { bb[i] = t[k - 1 - i]; i = i + 1 } sys_write(1, bb, k); return 0 } |
| 17 | func ux_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: ux_count |
| 19 | func ux_count(text: *u8, n: i64, term: *u8) -> i64 |
| 33 | func ux_find_byte(buf: *u8, start: i64, end: i64, b: i64) -> i64 called by 1: main |
| 39 | func ux_copyz(src: *u8, a: i64, b: i64, dst: *u8, dstcap: i64) -> i64 called by 1: main |
| 48 | func ux_body_off(raw: *u8, n: i64) -> i64 called by 1: ux_process |
| 58 | func ux_process(rawpath: *u8, label: *u8, hits: *i64) -> i64 called by 1: main calls 8: sys_mmapsys_read_fileux_putsux_body_offnx_http_dechunknx_html_to_text_x+2 |
| 107 | func main() -> i64 |