code wiki / _hdl_build / nx_library_sources.nx
nx_library_sources.nx
buildroot/runtime/_hdl_build/nx_library_sources.nx
about
nx_library_sources.nx -- the CONSUMED-SOURCES CATALOG (operator 2026-06-20: "i cant even see on
nishifamily.com/library the different research sources we have already consumed -- get them all
parsable/readable/searchable, ingesting automatically from the sources we have given it + future ones").
The foundation organ only auto-ingests knowledge/library/*.txt (~28); but we have also consumed
knowledge/research/*.md (deep-research reports) + knowledge/fetched/*.raw (sovereign-fetched sources).
This organ AUTO-DISCOVERS every consumed source across those dirs (getdents64, so future sources you
flag by dropping them in are picked up on the next run -- automatic ingestion of the catalog) and
emits a single data-driven, searchable HTML catalog so EVERY consumed source is VISIBLE.
Output: web_assets/library-sources.html. Sovereign: imports only nx_syscalls. 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
| 14 | const LS_DENT: i64 = 65536 |
functions
| 16 | func ls_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } sys_write(1, s, n); return 0 } |
| 21 | func ls_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 22 | func ls_wr(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return n } |
| 27 | func ls_wrn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 } |
| 28 | func ls_wresc(fd: i64, s: *u8) -> i64 |
| 37 | func ls_ends(name: *u8, ext: *u8) -> i64 called by 1: ls_emit_dir |
| 44 | func ls_getdents(fd: i64, buf: *u8, count: i64) -> i64 { return __syscall(SYS_GETDENTS64, fd, buf, count, 0, 0, 0) } called by 1: ls_emit_dir |
| 46 | func ls_emit_dir(fd: i64, dir: *u8, ext: *u8, klass: *u8) -> i64 |
| 77 | func main() -> i64 |