Question

Are there any good non-Prolog or Prolog-based logic programming languages ?

Who has or any good experience with it?

Was it helpful?

Solution

I highly recommend The Reasoned Schemer, by Dan Friedman, Oleg Kiselyov, and Will Byrd. It introduces miniKanren, a small (three core operators) logic programming language built atop Scheme. It's a joy to use, particularly with the matche macro that allows unifying pattern matches.

OTHER TIPS

Answer Set Programming is an extremely powerful logic programming paradigm. I've had a lot of success with the clasp/clingo answer set solver.

I was introduced to DLV and models through answer set programming, which is basically logic programming.

Take a look at theorem proof assistants, like Coq, HOL and Isabelle.

Some type systems (e.g., in Agda2) can be regarded as logic programming too.

You might check out CLIPS. It's structured like Lisp (lots of parens) but it's designed for building expert systems; I haven't seen a problem that Prolog solves that CLIPS couldn't. Like Prolog, its based on building facts and then running queries against them.

Mercury and Oz spring to mind. There's also Datalog which is a restricted (non-Turing complete) version of Prolog.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top