nx_ontology_test.nx
buildroot/runtime/nx_ontology_test.nx
about
nx_ontology_test.nx -- smoke for the substrate ontology primitive.
Builds a synthetic ontology at /tmp/nx_ontology_t1.txt with known
triples covering each predicate type, then verifies count + lookup
+ domain queries.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_str.nxnx_ontology.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
| 12 | const NX_ONT_T_MODE: i64 = 420 // 0o644 |
functions
| 14 | func nx_ont_t_write(fd: i64, s: *u8) -> nx_int |
| 22 | func nx_ont_t_fixture(path: *u8) -> nx_int |
| 40 | func main() -> nx_exit |