code wiki / (root) / nx_cvf_index.nx

nx_cvf_index.nx

buildroot/runtime/nx_cvf_index.nx

13684 B258 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_cvf_index.nx -- THE CVF LIBRARY TAB COMPILER (operator 2026-08-13: "a tab in /library to see all these papers with proper organization"). Compiles the library's research-papers page FROM THE FETCHED LISTING ARTIFACTS (knowledge/fetched/rf_*.raw, saved by nx_research_fetch): parses CVF open-access day listings (ptitle rows -> abstract href + title; the adjacent paper.pdf href), tags each paper into a program FAMILY by title keywords (worlds/procgen, gaussian-splatting, beings/avatars, motion, meshing, general), and emits ONE organized page: coverage banner (what is ingested vs pending -- no silent caps), per-family counts, then per-conference sections. Data-driven: knowledge/cvf_listings.conf rows `label<TAB>rf-path` (trailing newline required, # comments) -- adding a conference is a conf edit + a fetch, never a code edit. FAIL-LOUD: unreadable manifest/file or a file yielding ZERO rows REFUSES naming it (a listing that parses to nothing is a broken parse, not an empty conference). nx_cvf_index <listings.conf> <out.html> exit: 0 ok | 1 io | 2 usage | 3 refuse (named). license_tier: ORIGINAL. No hw writes (Rule 26).

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_cvf_index.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 cv_puts sys_write cv_len sys_exit sys_mmap nxa_die sys_write ↻ sys_exit ↻ nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close cv_find cv_len ↻ cv_appn cv_read sys_openat_rd ↻ sys_read ↻ sys_close ↻ cv_app cv_family cv_find ↻ cv_appnum sys_mmap ↻ cv_famname

structs

none

consts

16const CV_FCAP: i64 = 4194304
17const CV_OCAP: i64 = 8388608
18const CV_MAXF: i64 = 64

functions

20func cv_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: cv_putscv_find
21func cv_puts(s: *u8) -> i64 { sys_write(1, s, cv_len(s)); return 0 }
called by 1: main calls 2: sys_writecv_len
22func cv_num(v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
35func cv_app(dst: *u8, off: i64, s: *u8) -> i64
called by 1: main
41func cv_appn(dst: *u8, off: i64, src: *u8, a: i64, b: i64) -> i64
called by 1: main
47func cv_appnum(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
58func cv_find(src: *u8, a: i64, b: i64, pat: *u8) -> i64
called by 2: cv_familymain calls 1: cv_len
71func cv_read(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
86func cv_family(src: *u8, a: i64, b: i64) -> i64
called by 1: main calls 1: cv_find
113func cv_famname(f: i64) -> *u8
called by 1: main
122func main(argc: i64, argv: *i64) -> i64