]> Repositorios git - scryer-prolog.git/commitdiff
add more information about Constraint Logic Programming (CLP)
authorMarkus Triska <[email protected]>
Mon, 27 Apr 2020 17:48:31 +0000 (19:48 +0200)
committerMarkus Triska <[email protected]>
Mon, 27 Apr 2020 17:48:46 +0000 (19:48 +0200)
README.md

index f0d0b6ac6b7bfbda8921a69e7f58fa3a9a5f56c6..202a5b42d7a2152b37ca72ad4e1f1fc5578087a0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -273,6 +273,24 @@ described in [*Tabling as a Library with Delimited
 Control*](https://biblio.ugent.be/publication/6880648/file/6885145.pdf)
 by Desouter&nbsp;et.&nbsp;al.
 
+### Constraint Logic Programming (CLP)
+
+Scryer Prolog provides excellent support for Constraint Logic
+Programming&nbsp;(CLP), which is the amalgamation of
+Logic&nbsp;Programming&nbsp;(LP) and Constraints.
+
+In addition to built-in support for [`dif/2`](src/prolog/lib/dif.pl),
+[`freeze/2`](src/prolog/lib/freeze.pl),
+[CLP(ℤ)](src/prolog/lib/clpz.pl) and [CLP(B)](src/prolog/lib/clpb.pl),
+Scryer provides a convenient way to implement new user-defined
+constraints: *Attributed variables* are available via
+[`library(atts)`](src/prolog/lib/atts.pl) as in SICStus&nbsp;Prolog,
+which is one of the most sophisticated and fastest constraint systems
+in existence.
+
+These features make Scryer Prolog an ideal platform for teaching,
+learning and developing portable CLP&nbsp;applications.
+
 ### Modules
 
 Scryer has a simple predicate-based module system. It provides a