nx_lpo_test.nx
buildroot/runtime/nx_lpo_test.nx
about
nx_lpo_test.nx -- LPO smoke covering all four verdicts + each rule.
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_unify.nxnx_term_order.nxnx_lpo.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
| 11 | const SYM_A: nx_int = 100 // const, prec 10 |
| 12 | const SYM_B: nx_int = 101 // const, prec 11 |
| 13 | const SYM_F: nx_int = 200 // unary, prec 20 |
| 14 | const SYM_G: nx_int = 201 // unary, prec 21 |
| 15 | const SYM_H: nx_int = 250 // binary, prec 30 |
| 17 | const VAR_X: nx_int = 0 |
| 18 | const VAR_Y: nx_int = 1 |
functions
| 20 | func mk_unary(sym: nx_int, child: *Term) -> *Term |
| 27 | func mk_binary(sym: nx_int, c0: *Term, c1: *Term) -> *Term |
| 36 | func mk_state() -> *KboState |
| 46 | func report(name: *u8, expected: nx_int, actual: nx_int) -> nx_int |
| 54 | func main() -> nx_exit |