nx_swcompare_office.nx
buildroot/runtime/nx_swcompare_office.nx
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 1 imports · 0 importers
imports: nx_syscalls.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
| 9 | const K_MAGIC_262144: i64 = 262144 |
functions
| 11 | func w(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 } |
| 12 | func wc(fd: i64, code: i64) -> i64 { let t: *u8 = sys_mmap(2); t[0] = code as u8; sys_write(fd, t, 1); return 0 } |
| 13 | func wn(fd: i64, v: i64) -> i64 |
| 19 | func c_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 25 | func c_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 } |
| 26 | func c_has(buf: *u8, n: i64, needle: *u8) -> i64 called by 1: c_file_has |
| 33 | func c_file_has(path: *u8, needle: *u8, buf: *u8, cap: i64) -> i64 |
| 37 | func streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: main |
| 38 | func isp(ns: i64) -> i64 { if ns == 1 { return 1 } return 0 } called by 1: main |
| 39 | func ise(ns: i64) -> i64 { if ns == 2 { return 1 } return 0 } called by 1: main |
| 40 | func isa(ns: i64) -> i64 { if ns == 0 { return 1 } return 0 } called by 1: main |
| 42 | func con_row(label: *u8, ns: i64) -> i64 |
| 47 | func td_badge(fd: i64, code: i64) -> i64 |
| 54 | func html_row3(fd: i64, cat: *u8, ns: i64, ms: i64, gg: i64, lo: i64, note: *u8) -> i64 |
| 62 | func main(argc: i64, argv: *i64) -> i64 |