code wiki / _hdl_build / nx_js_dom_demo.nx

nx_js_dom_demo.nx

buildroot/runtime/_hdl_build/nx_js_dom_demo.nx

4718 B63 linesdepth 7pulls 22 transitivereach 0 importersview sourcekind sketch/demotopic js
docsdependenciesstructsconstsfunctions

about

nx_js_dom_demo.nx -- INDEPENDENT proof of the JS<->DOM binding (R-JS-DOM1/2/3): seed a realistic HTML page, run REAL JS programs through the sovereign engine that read the DOM via getElementById / querySelector / getAttribute, and print the extracted values. No gcc / no V8 / no node.

dependencies 1 imports · 0 importers

nx_js_eval.nx nx_js_dom_demo.nx

imports: nx_js_eval.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

6func dputs(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: show
9func show(html: *u8, js: *u8) -> i64
23func main() -> i64