code wiki / _hdl_build / nx_editor_loop_gate.nx

nx_editor_loop_gate.nx

buildroot/runtime/_hdl_build/nx_editor_loop_gate.nx

3264 B63 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic editor
docsdependenciesstructsconstsfunctions

about

nx_editor_loop_gate.nx -- the no-JS edit loop end-to-end: emit a native form (0 JS), POST an op, the engine applies it, the re-render REFLECTS the change. Unknown ops rejected. Proves the ecosystem can MANAGE a layout with no JS. 100% sovereign. expect_exit: 0

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_sitegate_emit_lib.nx nx_editor_loop.nx nx_brand_tokens.nx nx_editor_loop_gate.nx

imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_editor_loop.nxnx_brand_tokens.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap gw sys_write put render_to sys_openat_wr el_emit_form ec_render ec_w sys_write ↻ ec_wn sys_write ↻ sys_mmap ↻ ec_kindlabel ec_w ↻ sys_close sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ↻ g_has bt_find bt_len t_row gw ↻ el_apply el_streq ec_align ec_snap_all bs_snap ec_distribute_h gn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

10func g_has(s: *u8, n: i64, lit: *u8) -> i64 { if bt_find(s, n, lit, bt_len(lit)) >= 0 { return 1 } return 0 }
called by 1: main calls 2: bt_findbt_len
11func put(c: *i64, i: i64, k: i64, x: i64, y: i64, w: i64, h: i64) -> i64 { c[i*5+0]=k; c[i*5+1]=x; c[i*5+2]=y; c[i*5+3]=w; c[i*5+4]=h; return 0 }
called by 1: main
12func render_to(c: *i64, n: i64, path: *u8, out: *u8, cap: i64) -> i64
19func main() -> i64