code wiki / _hdl_build / nx_site_pages_gate.nx

nx_site_pages_gate.nx

buildroot/runtime/_hdl_build/nx_site_pages_gate.nx

5606 B94 linesdepth 8pulls 15 transitivereach 0 importersview sourcekind gate/prooftopic site
docsdependenciesstructsconstsfunctions

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

nx_site_pages.nx nx_site_pages_gate.nx

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

main g_puts sp_gen_file sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_mkdir sp_cat sys_openat_wr compose_build sys_mmap ↻ cmp_get cmp_klen cmp_line_match cmp_streq cmp_videos cmp_line_match ↻ cmp_copy vid_build vid_w sys_write vid_esc sys_mmap ↻ hs_escape hs_emit hs_emitb sys_write ↻ sgg_build sys_mmap ↻ cst_read sys_openat_rd ↻ sys_read ↻ sys_close ↻ sgg_put crd_render cst_get

structs

none

consts

none

functions

12func 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
13func g_num(v: i64) -> i64
called by 1: main
19func 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
20func g_wn(fd: i64, v: i64) -> i64
called by 1: main
26func 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
27func g_contains(hay: *u8, n: i64, ndl: *u8) -> i64
called by 1: g_file_has calls 1: g_slen
34func g_read(path: *u8, bufout: *i64) -> i64
called by 2: g_hasg_file_has calls 1: sys_read_file
41func g_has(path: *u8) -> i64 { let bo: *i64 = sys_mmap(16) as *i64; if g_read(path, bo) > 0 { return 1 } return 0 }
called by 1: main calls 1: g_read
43func g_file_has(path: *u8, ndl: *u8) -> i64
called by 1: main calls 2: g_readg_contains
50func main() -> i64