code wiki / _hdl_build / nx_domtree_gate.nx
nx_domtree_gate.nx
buildroot/runtime/_hdl_build/nx_domtree_gate.nx
about
nx_domtree_gate.nx -- gate for the mutable DOM (rung A). Drives the REAL organ over a real fixture +
mutations: parse->serialize round-trip, getElementById (+ neg control), createElement/appendChild,
setAttribute (update-in-place), textContent= (replace children). GREEN only if ALL pass. 0=GREEN/1=RED.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_domtree.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
| 7 | func g_p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 8 | func g_pn(v: i64) -> i64 |
| 18 | func g_contains(buf: *u8, blen: i64, needle: *u8) -> i64 |
| 31 | func chk(cond: i64, name: *u8, pp: *i64, tp: *i64) -> i64 |
| 38 | func main() -> i64 |