4 ms·
GNU Prolog has one of the fastest constraint solvers over finite domains (i.e., small integers), and its constraints are available out of the box, without loadi
by triska 5y ago
GNU Prolog has one of the fastest constraint solvers over finite domains (i.e., small integers), and its constraints are available out of the box, without loading any library. For example:
$ gprolog
GNU Prolog 1.4.5 (64 bits)
Compiled Mar 24 2020, 20:46:07 with gcc
By Daniel Diaz
Copyright (C) 1999-2020 Daniel Diaz
| ?- X #> 3.
X = _#2(4..268435455)
yes
GNU Prolog 1.5.0 was recently released, and the source repository is now available at:
https://github.com/didoudiaz/gprolog https://github.com/didoudiaz/gprolog
GNU Prolog is a nice Prolog system for learning Prolog, also because it is currently the only free system that correctly handles all syntactic ISO conformity tests collected at:
https://www.complang.tuwien.ac.at/ulrich/iso-prolog/conformity_testing https://www.complang.tuwien.ac.at/ulrich/iso-prolog/conformi...
This means that GNU Prolog can be reliably used to learn what is valid Prolog syntax and what is not.
- alserio 5y agoThanks!