code wiki / (root) / nx_xbrl_gate.nx

nx_xbrl_gate.nx

buildroot/runtime/nx_xbrl_gate.nx

5198 B92 linesdepth 9pulls 15 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_xbrl_gate.nx -- F987 INDEPENDENT GATE: XBRL fact parse + accounting-identity validation. Proves namespace/attribute-boundary-aware extraction (never mis-matches a longer concept), integer fact parsing, the balance-identity check, that a MIS-TAGGED filing (does not balance) is flagged, and fail-closed on a missing fact. XBRL uses attributes so tags carry contextRef etc. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 1 imports · 0 importers

nx_xbrl_lib.nx nx_xbrl_gate.nx

imports: nx_xbrl_lib.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

9func xg_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
10func xg_putn(v: i64) -> i64
24func xg_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
36func main(argc: i64, argv: *i64) -> i64