code wiki / _hdl_build / nx_adnet_catalog.nx
nx_adnet_catalog.nx
buildroot/runtime/_hdl_build/nx_adnet_catalog.nx
about
nx_adnet_catalog.nx -- GENERATOR: the LIVING ad-real-estate CATALOGUE + sitemap for the sovereign
ad network (operator 2026-07-09: "a state of the art catalogue of digital and physical and real
estate and apps ... in living documentation and site maps so people can go between them"). LIVING
DOCUMENTATION BY CONSTRUCTION: this organ renders the catalogue FROM the same data files the system
runs on -- adnet_properties.txt (the property registry) + adnet_inventory.txt (the LIVE serving
inventory) -- so re-running it can never disagree with what actually serves. Emits:
knowledge/staging/adnet/adnet_catalog.html (human catalogue + cross-navigation)
knowledge/staging/adnet/adnet_sitemap.xml (machine sitemap of every catalogued property)
The catalogue page deliberately does NOT opt out of the ad slot: it demonstrates the live unit.
expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_adnet_slot.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
| 13 | const K_MAGIC_1400: i64 = 1400 |
| 14 | const K_MAGIC_2048: i64 = 2048 |
| 15 | const K_MAGIC_262144: i64 = 262144 |
| 16 | const K_MAGIC_65536: i64 = 65536 |
functions
| 18 | func ac_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 20 | func ac_has(hay: *u8, n: i64, needle: *u8) -> i64 called by 1: main |
| 36 | func ac_section(reg: *u8, rn: i64, kind: *u8, out: *u8, o0: i64, cap: i64) -> i64 |
| 78 | func ac_sitemap(reg: *u8, rn: i64, out: *u8, cap: i64) -> i64 |
| 104 | func ac_inventory(inv: *u8, iln: i64, out: *u8, o0: i64, cap: i64) -> i64 |
| 145 | func ac_wfile(path: *u8, buf: *u8, n: i64) -> i64 |
| 154 | func main() -> i64 |