code wiki / _hdl_build / nx_js_es_census.nx

nx_js_es_census.nx

buildroot/runtime/_hdl_build/nx_js_es_census.nx

4449 B62 linesdepth 7pulls 22 transitivereach 0 importersview sourcekind tooltopic js
docsdependenciesstructsconstsfunctions

about

nx_js_es_census.nx -- MEASURE the modern-ES surface of the sovereign JS engine (present vs absent), so the SPA-giant arc builds the RIGHT features in priority order (data-driven, no-wave). Each probe runs a real snippet via js_run_source; PRESENT iff it yields the expected value (absence usually = parse error). GREEN iff the census is VALID (pos-control PRESENT + neg-control ABSENT) -- NOT iff all present. The gaps ARE the deliverable: they tell us exactly what real bundles (React/etc.) need that we lack.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_js_eval.nx nx_js_es_census.nx

imports: nx_syscalls.nxnx_itoa_lib.nxnx_js_eval.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 es_p sys_write feat es_p ↻ esc_num sys_mmap ↻ es_clen es_pn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap

structs

none

consts

none

functions

10func es_p(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 2: featmain calls 1: sys_write
15func es_pn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
16func es_clen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: esc_num
18func esc_num(src: *u8, want: i64) -> i64
called by 1: main calls 2: sys_mmapes_clen
25func feat(name: *u8, ok: i64, pc: *i64, tc: *i64) -> i64
called by 1: main calls 1: es_p
32func main() -> i64