code wiki / _hdl_build / nx_xlsx_chart_gate.nx

nx_xlsx_chart_gate.nx

buildroot/runtime/_hdl_build/nx_xlsx_chart_gate.nx

8442 B154 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic xlsx
docsdependenciesstructsconstsfunctions

about

nx_xlsx_chart_gate.nx -- gate for CHARTS v1 (office census OF-S4, native-first): the .xlsx preview renders a 0-JS BAR CHART from sheet data -- labels col A, values = first >=60%-numeric column, bar widths = integer percents of the max, and FORMULA cells chart at their COMPUTED values (the =SUM total is the 100% bar). In-file DrawingML c:chart = named follow-up, NOT claimed. Rows: 1 chart+pinned-widths 2 formula-bar-100pct 3 no-numeric-sheet-no-chart 4 registry-dispatch-includes-chart 5 outputs-0js 6 determinism 7 loud-fail[neg] license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_xlsx_chart_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

10func cg_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8) { n=n+1 } return n }
11func cg_p(s: *u8) -> i64 { sys_write(1, s, cg_slen(s)); return 0 }
12func cg_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8) { dst[off+i]=s[i]; i=i+1 } return off+i }
13func cg_catn(dst: *u8, off: i64, v: i64) -> i64
19func cg_write(path: *u8, content: *u8) -> i64
23func cg_readall(path: *u8, szout: *i64) -> *u8
29func cg_runv(elf: *u8, args: *i64, outpath: *u8) -> i64
44func cg_has(path: *u8, needle: *u8) -> i64
51func cg_fileeq(p1: *u8, p2: *u8) -> i64
62func cg_args4(a1: *u8, a2: *u8, a3: *u8, a4: *u8) -> *i64
65func cg_row(name: *u8, pass: i64) -> i64
69func main(argc: i64, argv: *i64) -> i64