code wiki / (root) / nx_swcompare_office.nx

nx_swcompare_office.nx

buildroot/runtime/nx_swcompare_office.nx

20773 B222 linesdepth 10pulls 52 transitivereach 0 importersview sourcekind tooltopic swcompare
docsdependenciesstructsconstsfunctions

about

nx_swcompare_office.nx -- SoftwareCompare (office domain): the Nishi office stack MEASURED vs Microsoft 365 Copilot / Google Workspace Gemini / LibreOffice. Each Nishi cell PROVEN by the implementing symbol in the real organ source on disk (present) or its ABSENCE (gap). Competitor cells = documented capability presence, grounded in knowledge/library/office-sota-bar-2026-07-08.txt (cited, web-fetched 2025/2026). Coverage is HONESTLY LOW: the office suite is a sovereign FOUNDATION, not SOTA -- the liar-kill enforces coverage<600 + the marquee gaps real. Modes: no-arg = console census + liar-kill (gate); argv[1]="html" = emit the /compare/office page to stdout. NOTE: no '#'/'!' in string literals (nx_cc trap) -> rgb() + emit '!' byte. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_swcompare_lib.nx nx_swcompare_office.nx

imports: nx_syscalls.nxnx_swcompare_lib.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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ c_file_has c_read sys_openat_rd sys_read sys_close c_has c_exists sys_openat_rd ↻ sys_close ↻ isp ise isa streq w sys_write ↻ wc sys_mmap ↻ sys_write ↻ sc_theme_pass sc_brand bt_len sys_mmap ↻ bt_emit_root_buf bt_app

structs

none

consts

10const K_MAGIC_262144: i64 = 262144

functions

20func c_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
21func c_has(buf: *u8, n: i64, needle: *u8) -> i64
called by 1: c_file_has
28func c_file_has(path: *u8, needle: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 2: c_readc_has
33func isp(ns: i64) -> i64 { if ns == 1 { return 1 } return 0 }
called by 1: main
34func ise(ns: i64) -> i64 { if ns == 2 { return 1 } return 0 }
called by 1: main
35func isa(ns: i64) -> i64 { if ns == 0 { return 1 } return 0 }
called by 1: main
37func con_row(label: *u8, ns: i64) -> i64
called by 1: main calls 1: w
42func td_badge(fd: i64, code: i64) -> i64
called by 1: html_row3 calls 1: w
49func html_row3(fd: i64, cat: *u8, ns: i64, ms: i64, gg: i64, lo: i64, note: *u8) -> i64
called by 1: main calls 2: wtd_badge
57func main(argc: i64, argv: *i64) -> i64