mention backtrackable and non-backtrackable global variables

This commit is contained in:
Markus Triska
2020-04-28 18:22:18 +02:00
parent 4ea0dee90a
commit dcc09b7bb5

View File

@@ -281,12 +281,15 @@ Logic Programming (LP) and Constraints.
In addition to built-in support for [`dif/2`](src/prolog/lib/dif.pl), In addition to built-in support for [`dif/2`](src/prolog/lib/dif.pl),
[`freeze/2`](src/prolog/lib/freeze.pl), [`freeze/2`](src/prolog/lib/freeze.pl),
[CLP()](src/prolog/lib/clpz.pl) and [CLP(B)](src/prolog/lib/clpb.pl), [CLP(B)](src/prolog/lib/clpb.pl) and [CLP()](src/prolog/lib/clpz.pl),
Scryer provides a convenient way to implement new user-defined Scryer provides a convenient way to implement new user-defined
constraints: *Attributed variables* are available via constraints: *Attributed variables* are available via
[`library(atts)`](src/prolog/lib/atts.pl) as in SICStus Prolog, [`library(atts)`](src/prolog/lib/atts.pl) as in SICStus Prolog,
which is one of the most sophisticated and fastest constraint systems which is one of the most sophisticated and fastest constraint systems
in existence. in existence. In [`library(iso_ext)`](src/prolog/lib/iso_ext.pl),
Scryer provides predicates for backtrackable (`bb_b_put/2`) and
non-backtrackable (`bb_put/2`) global variables, which are needed to
implement certain types of constraint solvers.
These features make Scryer Prolog an ideal platform for teaching, These features make Scryer Prolog an ideal platform for teaching,
learning and developing portable CLP applications. learning and developing portable CLP applications.