code wiki / _hdl_build / nx_editor_loop.nx
nx_editor_loop.nx
buildroot/runtime/_hdl_build/nx_editor_loop.nx
about
nx_editor_loop.nx -- the NO-JS edit LOOP: the Nishi ecosystem MANAGING a layout with zero JavaScript. The editor
surface is rendered (ec_render) with a NATIVE HTML <form> of op buttons; submitting POSTs an op; the server APPLIES
the engine op (el_apply -> nx_editor_canvas) and RE-RENDERS. Every edit is a server round-trip -- no client JS,
and more governed than drag-drop (each op passes through our code). The daemon route (/editor/apply) is the
deployment wiring; this is the sovereign engine of it. REUSE: nx_editor_canvas. license_tier: ORIGINAL
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_editor_canvas.nx
imported by: nx_editor_loop_gate.nx
structs
| none |
consts
| 18 | const EL_GRID: i64 = 8 |
functions
| 10 | func el_streq(a: *u8, b: *u8) -> i64 |
| 23 | func el_apply(c: *i64, n: i64, op: *u8) -> i64 |
| 37 | func el_apply_st(st: *i64, op: *u8) -> i64 |
| 50 | func el_emit_ops(fd: i64) -> i64 |
| 61 | func el_emit_form(c: *i64, n: i64, fd: i64) -> i64 |
| 72 | func el_emit_form_st(st: *i64, fd: i64) -> i64 |