code wiki / _hdl_build / nx_isotope_foundation.nx

nx_isotope_foundation.nx source

↩ module page · 19 lines · 882 B

1// nx_isotope_foundation.nx -- FOUNDATION the ingested NIST Atomic Weights data (thin caller over the reusable 2// nx_ingest_foundation lib). CID + ed25519 signed "downloaded" provenance + lineage-walk to god. license_tier: ORIGINAL 3import "nx_syscalls.nx" 4import "nx_ingest_foundation.nx" 5 6func main() -> i64 { 7 let cid: *u8 = sys_mmap(128) 8 let ok: i64 = ingest_foundation( 9 "knowledge/fetched/nist/atomic_weights.raw" as *u8, 10 "https://physics.nist.gov/cgi-bin/Compositions/stand_alone.pl?isotype=some" as *u8, 11 "2026-06-20" as *u8, 12 "NIST Atomic Weights and Isotopic Compositions (AME2020 / CIAAW)" as *u8, 13 "knowledge/fetched/nist/atomic_weights.cred" as *u8, 14 "knowledge/status/isotope_foundation.log" as *u8, 15 "ISOTOPE-FOUNDATION" as *u8, 16 cid) 17 if ok == 1 { sys_exit(0); return 0 } 18 sys_exit(1); return 1 19}