4 ms·
Another language reminiscent of Prolog is Clingo (web repl: https://potassco.org/clingo/run/ https://potassco.org/clingo/run/). It's a lot like Prolog, but it'
by pcmonk 10y ago
Another language reminiscent of Prolog is Clingo (web repl: https://potassco.org/clingo/run/ https://potassco.org/clingo/run/).
It's a lot like Prolog, but it's based in answer set programming, which gives you nice guarantees like "doesn't matter what order you write the rules in" and "always terminates".
- gmfawcett 10y agoThanks, I hadn't heard of that one! Another very interesting language in the Prolog family is Mercury (http://www.mercurylang.org/ http://www.mercurylang.org/), which has a more functional and static flavour than Prolog, and has a suite of compilers that can produce quite efficient code.