st_expr.pl -- Expression evaluator
Evaluates expression. Allows registering of
global constants and user-defined functions.
- st_set_function(+Name, +Arity, :Goal) is det
- Registers new function. Goal must have arity
Arity + 1. Last argument of goal is used as
the return value.
- st_set_global(+Name, +Value) is det
- Sets the global value. Value must
be ground. Overwrites the existing
global with the same name.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- st_eval(Arg1, Arg2, Arg3, Arg4)