code wiki / _hdl_build / nx_wiki_exceed.nx
nx_wiki_exceed.nx
buildroot/runtime/_hdl_build/nx_wiki_exceed.nx
about
nx_wiki_exceed.nx -- MEASURED head-to-head of a Nishi wiki page vs the incumbent wiki engine.
module: nishi-core.wiki.exceed_census
capability: CORE_COMPUTE (the honest "how far is our page from a real wiki page" measurement)
Per the no-wave law: an EXCEED is MEASURED per-feature, never self-graded. This organ reads
knowledge/registry/wiki_feature_census.tsv (the MediaWiki/Wikipedia feature bar) and SCANS the actual
rendered page for each feature's signal -> PRESENT/ABSENT, COMPUTED, not asserted. It reports how many
of the incumbent's features our page has, and is HONEST that being behind is the worklist (it refuses
to call a behind page an "exceed"). The wiki PAGE BUILDER climbs this census rung by rung.
Sovereign: imports only nx_syscalls. license_tier: ORIGINAL
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_itoa_lib.nx
imported by: nx_wiki_exceed_gate.nx
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 16 | const WE_CENSUS: *u8 = "knowledge/registry/wiki_feature_census.tsv" |
| 17 | const WE_PAGE: *u8 = "web_assets/charter.html" |
functions
| 26 | func we_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } sys_write(1, s, n); return 0 } |
| 31 | func we_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 32 | func we_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } return n } called by 1: we_contains |
| 34 | func we_field_dup(b: *u8, ls: i64, le: i64, f: i64) -> *u8 |
| 52 | func we_contains(hay: *u8, hn: i64, needle: *u8) -> i64 |
| 72 | func we_measure(census_file: *u8, page_file: *u8, outs: *i64) -> i64 |
| 138 | func main() -> i64 |