code wiki / _hdl_build / nx_browser_os_census.nx
nx_browser_os_census.nx
buildroot/runtime/_hdl_build/nx_browser_os_census.nx
about
nx_browser_os_census.nx -- BROWSER-ON-ALL-OS arc, rung R0: the measured per-OS browser census.
Operator (2026-07-02): "finish getting our nishi browser to s class exceed on all OSs including our
future nishi os." This organ is the MEASURE for that arc (no-wave: never claim before measuring):
a data-driven census of the Nishi browser per OS target -- linux-elf (nx_browser, X11/WSLg),
windows-pe (nishi.exe native PE), nishios (the sovereign OS) -- where every PRESENT cell is backed
by a MECHANICAL evidence probe (a real on-disk organ/artifact at a minimum size), every gap is an
honest ABSENT/PLAN row that NAMES its build organ (so the census self-flips as rungs land), and a
NEG control (a must-be-absent file) kills a lying census: if the negctl file exists the verdict is
RED regardless of score. Emits the operator-facing UI surface (browser_os_census.html) + a status
line (browser_os_census.log). The census reports permil scores; the VERDICT is about census
integrity (row count parsed, negctl absent, honesty rows intact), never about whitewashing the score.
NEVER-BRICK (Rule 26): reads evidence files, writes status artifacts only.
expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 17 | const K_MAGIC_65536: i64 = 65536 |
functions
| 19 | func bc_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 24 | func bc_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 25 | func bc_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 28 | func bc_app(buf: *u8, pos: i64, s: *u8) -> i64 called by 1: main |
| 35 | func bc_appn(buf: *u8, pos: i64, s: *u8, n: i64) -> i64 called by 1: main |
| 42 | func bc_appd(buf: *u8, pos: i64, v: i64) -> i64 |
| 54 | func bc_write_file(path: *u8, data: *u8, n: i64) -> i64 |
| 62 | func bc_parse_int(s: *u8, off: i64, len: i64) -> i64 called by 1: main |
| 73 | func bc_rows() -> *u8 called by 1: main |
| 77 | func main() -> i64 |