code wiki / _hdl_build / nx_site_requirements_gate.nx
nx_site_requirements_gate.nx
buildroot/runtime/_hdl_build/nx_site_requirements_gate.nx
about
nx_site_requirements_gate.nx -- referee for R5b (nx_site_requirements / the .req content compiler).
Composes the SAME corpus-derived showcase twice in one process: (1) WITHOUT a brief -> the grid placeholder
marker is PRESENT (N1 baseline, proves the mechanism does the work); (2) WITH the test.req brief loaded ->
the brief's copy LANDS verbatim, the placeholder is GONE from the req'd section, non-req'd archetypes keep
their defaults (fallback intact), and the ADA shell survives. GREEN iff 6/6.
Wrapper pre-cleans /tmp/tplcorpus_req /tmp/factory_req1 /tmp/factory_req2.
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_gate.nxnx_site_archetype.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
| 11 | func gr_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: gr_has |
| 12 | func gr_has(hay: *u8, hn: i64, needle: *u8) -> i64 |
| 20 | func gr_row(name: *u8, ok: i64) -> i64 { gw(" " as *u8); gw(name); if ok==1 { gw(" PASS\n" as *u8) } else { gw(" FAIL\n" as *u8) } return 0 } |
| 22 | func main() -> i64 |