code wiki / _hdl_build / nx_editor_loop.nx

nx_editor_loop.nx

buildroot/runtime/_hdl_build/nx_editor_loop.nx

2131 B36 linesdepth 4pulls 4 transitivereach 1 importersview sourcekind librarytopic editor
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_editor_canvas.nx nx_editor_loop.nx nx_editor_loop_gate.nx

imports: nx_syscalls.nxnx_editor_canvas.nx

imported by: nx_editor_loop_gate.nx

structs

none

consts

none

functions

10func el_streq(a: *u8, b: *u8) -> i64
called by 1: el_apply
17func el_apply(c: *i64, n: i64, op: *u8) -> i64
26func el_emit_form(c: *i64, n: i64, fd: i64) -> i64
called by 1: render_to calls 2: ec_renderec_w