code wiki / (root) / nx_family_hub.nx

nx_family_hub.nx

buildroot/runtime/nx_family_hub.nx

7832 B118 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind generated fixture
docsdependenciesstructsconstsfunctions

about

nx_family_hub.nx -- EMIT nishifamily.com/hub, AUTO-GENERATED from the sovereign app registry (nx_app_store / seg_store). No hardcoded cards, no TSV: publish an app into the store and it appears here automatically, grouped by category, with CAD featured. Organ-authored; published via nx_aw_push to /hub/index.html. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_app_store.nx nx_family_hub.nx

imports: nx_syscalls.nxnx_app_store.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_now_realtime_sec sys_mmap sys_clock_gettime_real sys_mmap ↻ nx_app_store_index sys_mmap ↻ ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss_scan_seglist ss_len sys_mmap ↻ ss_cat ↻ ss_readall ↻ ss_r32 cat catn sys_mmap ↻ app_fields sys_mmap ↻ nx_app_store_get sys_mmap ↻ aps_key aps_cat ss_get ↻ getfield emit_cat cat ↻ sys_mmap ↻ app_fields ↻ streq sys_openat_wr

structs

none

consts

8const HUB_MAGIC_8192: i64 = 8192
9const HUB_MAGIC_1024: i64 = 1024
10const HUB_MAGIC_65536: i64 = 65536
12const HUB_OUT: *u8 = "web_assets/hub.html"
13const HUB_CAP: i64 = 131072

functions

15func cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ dst[off+i]=s[i]; i=i+1 } return off+i }
called by 2: emit_catmain
16func catn(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
22func getfield(rec: *u8, rl: i64, fi: i64, out: *u8) -> i64
called by 1: app_fields
30func app_fields(name: *u8, path: *u8, title: *u8, blurb: *u8, cate: *u8) -> i64
38func streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i]{return 0} i=i+1 } if b[i]!=(0 as u8){return 0} return 1 }
called by 1: emit_cat
41func emit_cat(h: *u8, off: i64, idx: *u8, idxn: i64, want: *u8, header: *u8) -> i64
called by 1: main calls 4: catsys_mmapapp_fieldsstreq
69func main() -> i64