code wiki / _hdl_build / nx_ims_page_selftest.nx
nx_ims_page_selftest.nx
buildroot/runtime/_hdl_build/nx_ims_page_selftest.nx
about
nx_ims_page_selftest.nx -- smoke test for the reusable generator nx_ims_page.
Renders a throwaway page for an EXISTING reachable slug ("nist_stem") so the walk
furniture has a real wiki_links.tsv row to read, writes it to /tmp, and asserts the
emitted bytes carry the furniture markers + the type label. NOT published. Proves
the generator is data-driven (reads wiki_links.tsv + ims_typemap.tsv) and reusable.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_ims_page.nxnx_syscalls.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
| 9 | const K_MAGIC_1781800000: i64 = 1781800000 |
functions
| 11 | func st_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 12 | func st_num(v: i64) -> i64 |
| 21 | func st_has(hay: *u8, n: i64, needle: *u8) -> i64 called by 1: main |
| 34 | func main() -> i64 |