code wiki / _hdl_build / nx_site_pages_gate.nx
nx_site_pages_gate.nx
buildroot/runtime/_hdl_build/nx_site_pages_gate.nx
about
nx_site_pages_gate.nx -- MEASURED gate for the data-driven website page generator. Generates the andelinwest
site into a test docroot and proves the visitor content exists + is branded + the practice slugs EXACTLY match
the onsite-search URLs (so search results never dangle):
T1 homepage generated + branded (index.html contains the firm name) + 4 cards -> 4 practice pages
T2 /practice/family-law.html exists + contains "Family Law"
T3 /practice/estate-planning.html exists + contains "Estate Planning"
T4 the other two search targets exist: /practice/business-law.html + /practice/personal-injury.html
T5 neg-control: a non-card slug (/practice/divorce.html) is NOT generated
GREEN iff 5/5. Appends knowledge/status/site_pages_gate.log. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_site_pages.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
| none |
functions
| 12 | func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } called by 1: main |
| 13 | func g_num(v: i64) -> i64 called by 1: main |
| 19 | func g_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 } called by 1: main |
| 20 | func g_wn(fd: i64, v: i64) -> i64 called by 1: main |
| 26 | func g_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: g_contains |
| 27 | func g_contains(hay: *u8, n: i64, ndl: *u8) -> i64 |
| 34 | func g_read(path: *u8, bufout: *i64) -> i64 |
| 41 | func g_has(path: *u8) -> i64 { let bo: *i64 = sys_mmap(16) as *i64; if g_read(path, bo) > 0 { return 1 } return 0 } |
| 43 | func g_file_has(path: *u8, ndl: *u8) -> i64 |
| 50 | func main() -> i64 |