code wiki / _hdl_build / nx_deltaclass.nx
nx_deltaclass.nx
buildroot/runtime/_hdl_build/nx_deltaclass.nx
about
nx_deltaclass.nx -- CLI over nx_deltaclass_lib. Answers, at any time and from the LIVE ledger:
did the headline move because we DELIVERED, because the REQUIREMENT moved, or because we thrashed?
All logic lives in nx_deltaclass_lib.nx, which the GATE imports too, so what ships is what is graded.
VERBS
ledger <path> first and last sum-bearing samples in the file
window <path> <n> the last <n> sum-bearing samples
selftest
Beat lines (src=beat) carry NO sums and are SKIPPED -- counting them as samples would manufacture
fake idle runs and drown the real signal.
expect_exit: 0 license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 1 imports · 0 importers
imports: nx_deltaclass_lib.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
| 13 | const DL_MAGIC_1785608007: i64 = 1785608007 |
| 15 | const DL_NL: i64 = 10 |
| 16 | const DL_MINUS: i64 = 45 |
| 17 | const DL_D0: i64 = 48 |
| 18 | const DL_D9: i64 = 57 |
| 19 | const DL_SCRATCH: i64 = 28 |
functions
| 21 | func dw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 22 | func dn(v: i64) -> i64 |
| 39 | func dnu(v: i64) -> i64 |
| 50 | func dsn(v: i64) -> i64 |
| 55 | func dstreq(a: *u8, b: *u8) -> i64 called by 1: main |
| 61 | func dl_klen(k: *u8) -> i64 { var n: i64 = 0; while k[n] != (0 as u8) { n = n + 1 } return n } called by 1: dl_val |
| 62 | func dl_key_at(b: *u8, i: i64, k: *u8) -> i64 called by 1: dl_val |
| 70 | func dl_num_at(b: *u8, i: i64, lim: i64) -> i64 |
| 91 | func dl_val(b: *u8, ls: i64, le: i64, k: *u8) -> i64 |
| 101 | func dl_scope_name(c: i64) -> i64 |
| 108 | func dl_verdict_name(v: i64) -> i64 |
| 118 | func dl_advice(v: i64) -> i64 |
| 129 | func dl_report(path: *u8, tail: i64) -> i64 |
| 246 | func dl_selftest() -> i64 |
| 282 | func main(argc: i64, argv: *i64) -> i64 |