code wiki / _hdl_build / nx_route_table_gate.nx
nx_route_table_gate.nx
buildroot/runtime/_hdl_build/nx_route_table_gate.nx
about
nx_route_table_gate.nx -- PURE gate for the data-driven route matcher. Proves the SOTA semantics the hardcoded
cascade lacked: the GALLERY route is just a DATA ROW (no recompile to add/fix a route), exact-host beats '*',
LONGEST path-prefix wins, and BOUNDARY-SAFETY (/gen never matches /generated). GREEN iff T1..T10.
Sovereign: nx_route_table + nx_syscalls. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_route_table.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
| none |
functions
| 8 | func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 9 | func g_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 10 | func g_row(name: *u8, ok: i64) -> i64 |
| 17 | func g_match(rt: *u8, n: i64, host: *u8, path: *u8, want_match: i64, want_port: i64, want_mode: i64) -> i64 |
| 30 | func main() -> i64 |