code wiki / (root) / nx_resolution_test.nx

nx_resolution_test.nx

buildroot/runtime/nx_resolution_test.nx

4480 B108 linesdepth 6pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_resolution_test.nx -- binary resolution smoke.

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_result.nx nx_unify.nx nx_resolution.nx nx_resolution_test.nx

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_unify.nxnx_resolution.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main println sys_write strlen sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_mmap ↻ nx_term_app sys_mmap ↻ nx_clause_new sys_mmap ↻ nx_lit_make sys_mmap ↻ nx_clause_add nx_result_err sys_mmap ↻ nx_clause_lit_at nx_result_ok sys_mmap ↻ nx_resolve nx_result_err ↻ nx_clause_lit_at ↻ nx_subst_new sys_mmap ↻ nx_unify nx_subst_apply nx_subst_lookup

structs

none

consts

10const SYM_P: nx_int = 200
11const SYM_Q: nx_int = 201
12const SYM_A: nx_int = 100
13const SYM_B: nx_int = 101
14const VAR_X: nx_int = 1

functions

16func main() -> nx_exit