code wiki / _hdl_build / nx_library_scholarly.nx
nx_library_scholarly.nx
buildroot/runtime/_hdl_build/nx_library_scholarly.nx
about
nx_library_scholarly.nx -- nishifamily.com/library BEHIND LOGIN of OUR scholarly library (operator
2026-06-13). AUTH-GATED render of the INGESTED worldwide scholarly catalog (knowledge/library/
scholarly_catalog.tsv -- real works from the Google Scholar + OpenAlex + Crossref union + worldwide
regional reach). Serves the catalog ONLY to a valid OPAQUE session (Ed25519, nx_no_cookie_session),
else 302 -> /wiki/login (data NEVER served unauthenticated). Self-validating LIBGATE: valid->served,
forged/expired->denied, unauth->302. Composes PROVEN organs (no rebuild). license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_ed25519_signature.nxnx_no_cookie_session.nxnx_web_builder.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
| 12 | const LS_MAGIC_4000: i64 = 4000 |
| 13 | const LS_MAGIC_131072: i64 = 131072 |
| 14 | const LS_MAGIC_131071: i64 = 131071 |
| 16 | const LS_OUT: *u8 = "knowledge/library.html" |
| 17 | const LS_CAT: *u8 = "knowledge/library/scholarly_catalog.tsv" |
| 18 | const LS_NOW: i64 = 1000000 |
| 19 | const LS_TTL: i64 = 3600 |
functions
| 21 | func ls_rf(path: *u8, buf: *u8, cap: i64) -> i64 |
| 27 | func ls_scan(buf: *u8, n: i64, start: i64, delim: i64) -> i64 { var i: i64=start; var s: i64=1; while s==1 { if i>=n{s=0} else { if buf[i]==(delim as u8){s=0} else {i=i+1} } } return i } |
| 32 | func ls_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 } |
| 33 | func ls_w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 36 | func ls_card_row(fd: i64, buf: *u8, n: i64, a0: i64, e: i64) -> i64 |
| 58 | func main() -> i64 |