wam.anciliary
bind
(bind ctx a1 a2)
Effectuate the binding of the heap cell to the address
cell-type
Convenience wrapper to obtain the cell type
cell-value
Convenience wrapper to obtain the cell value
cell?
Convenience wrapper for any cell types
deref
(deref ctx addr)
Follows a possible reference chain until it reaches either an unbound REF
cell or a non-REF cell, the address of which it returns. The effect of
dereferencing is none other than composing variable substitutions.
ref?
Convenience wrapper for REF cell types
resolve-struct
(resolve-struct ctx addr)
str?
Convenience wrapper for STR cell types
unify
(unify ctx a1 a2)
Unification algorithm based on the UNION/FIND method [AHU74], where
variable substitutions are built, applied, and composed through
dereference pointers. The unification operation is performed on a
pair of store addresses, and applied for all functors and their
arguments, repeated iteratively until the stack is exhausted.