code wiki / _hdl_build / nx_scilib_build.nx
nx_scilib_build.nx
buildroot/runtime/_hdl_build/nx_scilib_build.nx
about
nx_scilib_build.nx -- driver: ingest the FOUNDATIONED science documents we have fetched (NIST CODATA,
NIST Atomic Weights, IUPAC/CIAAW) into the sovereign Nishi library (nx_library), then print the running
index. Each doc is now content-addressed in our own store -> we OWN the bytes -> no link rot. Re-running
is idempotent (dedup by CID). license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_library.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
| none |
functions
| 9 | func sb_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 14 | func sb_n(v: i64) -> i64 { nxi_out(v); return 0 } calls 1: nxi_out |
| 15 | func sb_pfx(cid: *u8, k: i64) -> i64 { var i: i64=0; while i<k { if cid[i]==(0 as u8){break} let o: *u8=sys_mmap(1); o[0]=cid[i]; sys_write(1,o,1); i=i+1 } return 0 } |
| 17 | func sb_ingest(path: *u8, src: *u8, title: *u8) -> i64 |
| 25 | func main() -> i64 |