code wiki / (root) / nx_paper_beat_all.nx

nx_paper_beat_all.nx

buildroot/runtime/nx_paper_beat_all.nx

5251 B133 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic paper
docsdependenciesstructsconstsfunctions

about

nx_paper_beat_all.nx -- THE CLOCK-RUNNABLE FACE of the native paper library (2026-08-14). nx_clockjob rows carry NO ARGV, so the beat needed an arg-free entry: this reads the SAME data file the library page is compiled from (knowledge/cvf_listings.conf) and forks the promoted nx_paper_beat once per listing with that listing's own cursor, so every proceeding drains in parallel-by-rows and a new conference is still a conf edit, never a code edit. Creates its own output dirs (the run that taught this needed a manual mkdir). nx_paper_beat_all -- default slice PBA_LIMIT per listing per run exit 0 ok | 3 refuse (named). license_tier: ORIGINAL. No hw writes (Rule 26).

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_paper_beat_all.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 sys_mkdir 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 pa_puts sys_write ↻ pa_len sys_exit ↻ pa_find pa_len ↻ pa_appn pa_app pa_appnum sys_mmap ↻ pa_num sys_write ↻ sys_mmap ↻ pa_run sys_fork sys_mmap ↻

structs

none

consts

11const PBA_CONF: *u8 = "knowledge/cvf_listings.conf"
12const PBA_BEAT: *u8 = "/volume1/homes/elderwesto/nishihost/nx_paper_beat.elf"
13const PBA_LIMIT: *u8 = "60"
14const PBA_CAP: i64 = 65536

functions

16func pa_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: pa_putspa_find
17func pa_puts(s: *u8) -> i64 { sys_write(1, s, pa_len(s)); return 0 }
called by 1: main calls 2: sys_writepa_len
18func pa_num(v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
30func pa_app(d: *u8, off: i64, s: *u8) -> i64
called by 1: main
36func pa_appn(d: *u8, off: i64, src: *u8, a: i64, b: i64) -> i64
called by 1: main
42func pa_appnum(d: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
52func pa_find(src: *u8, a: i64, b: i64, pat: *u8) -> i64
called by 1: main calls 1: pa_len
65func pa_run(a1: *u8, a2: *u8, a3: *u8, a4: *u8) -> i64
88func main() -> i64