Download "user manual"

Transcript
Jan Burse
Language Runtime
XLOG Technologies GmbH
If X is a variable and Y is a character list then the predicate succeeds when X unifies
with the corresponding number. Otherwise if X is a number then the predicate
succeeds when Y unifies with the corresponding character list.
number_codes(X, Y): [ISO 8.16.8]
If X is a variable and Y is a code list then the predicate succeeds when X unifies with
the corresponding number. Otherwise if X is a number then the predicate suceeds
when Y unifies with the corresponding code list.
last_atom_concat(X, Y, Z):
The predicate succeeds whenever the atom Z is the concatenation of the atom X and
the atom Y. Works like the ISO predicate atom_concat/3 except that non-deterministic
results are enumerated in reverse order.
last_sub_atom(X, Z, T, U):
last_sub_atom(X, Y, Z, T, U):
The predicate succeeds whenever the atom U is the sub atom of the atom X starting
at position Y with length Z and ending T characters before. Works like the ISO predicate sub_atom/5 except that non-deterministic results are enumerated in reverse order.
atom_split(L, S, R): [Prolog Commons Atom Utilities]
If R is a variable the predicate succeeds when R unifies with the concatenation of
each atom from the non-empty list L separated by the atom S. Otherwise the
predicate splits the atom R into a list L of atoms that are separated by the atom S.
atom_number(A, N): [Prolog Commons Atom Utilities]
If A is a variable, then the predicate succeeds in A with the number unparsing of N.
Otherwise the predicate succeeds in N with the number parsing of A.
atom_block(A, B):
If A is a variable, then the predicate succeeds in A with the atom for the block B.
Otherwise the predicate succeeds in B with the atom for the block B.
term_atom(T, A):
term_atom(T, A, O):
The predicate succeeds when A is the serialization of the term T. The ternary
predicate accepts read respectively write options O.
The following Prolog flags for string predicates are provided:
max_code:
The legal value is an integer. The value gives the maximum value of a character
code. Default value is 0x10FFFF. The value cannot be changed.
February 23, 2019
jekejeke_lang_run_2019_02_01_e.docx
Page 92 of 134