code wiki / _hdl_build / nx_research_relation_test.nx
nx_research_relation_test.nx
buildroot/runtime/_hdl_build/nx_research_relation_test.nx
about
nx_research_relation_test.nx -- KAT gate for the grown-organ relation extractor.
Known sentences -> known (relation, subject, object) triples. Proves the
qualitative-claim extractor is correct + inspectable. expect_exit: 0.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_research_extract.nxnx_research_relation.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
| none |
functions
| 9 | func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 10 | func wn(v: i64) -> i64 |
| 20 | func streq(a: *u8, b: *u8) -> i64 called by 1: tcase |
| 30 | func chk(cond: i64, pass: *i64, fail: *i64, label: *u8) -> i64 |
| 37 | func tcase(s: *u8, exp_rel: *u8, exp_subj: *u8, exp_obj: *u8, pass: *i64, fail: *i64) -> i64 |
| 56 | func main() -> i64 |