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 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 nx_subst_apply ↻ sys_mmap ↻ nx_term_arg nx_term_app ↻ nx_term_eq nx_term_eq ↻ nx_term_arg ↻ nx_result_ok ↻ nx_term_contains_var nx_term_contains_var ↻ nx_term_arg ↻ nx_result_err ↻ nx_subst_add nx_result_err ↻

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