code wiki / _hdl_build / nx_js_dom_demo.nx
nx_js_dom_demo.nx
buildroot/runtime/_hdl_build/nx_js_dom_demo.nx
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
imports: nx_js_eval.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 6 | func 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 |
| 9 | func show(html: *u8, js: *u8) -> i64 |
| 23 | func main() -> i64 |