Re: Lisp versus Prolog



Prolog is excellent for the task for which
it was designed - which is deduction.
Some tasks just turn out to be so much
easier in Prolog than Lisp. Generally
I would consider it useful in an expert
systems context.

Lisp is a more flexible tool all round than
Prolog. It suffers from a lack of features
common in more modern FPLs such
as pattern-directed list handling and types.

Prolog in Lisp might be your solution.
You should know though that Prolog-in-Lisp
will be slower than the best commercial
Prolog such as Sicstus. If you don't mind
losing a little speed - its a solution.

There is a Prolog in Lisp in Qi - does from
100-400 KLIPs under CLisp. The top level
syntax handler needs a little work but it
does go.

Mark

.



Relevant Pages

  • Re: why not use LISP-imp of Prolog as opposed to Prolog itself?
    ... Lisp has been getting a higher profile lately because of essayists ... Tenth Rule of Programming which states: ... Norvig shows us how to implement Prolog in Lisp. ... instead of Lisp (such as his excellent discussion of natural language ...
    (comp.lang.prolog)
  • Re: Recommended Sources?
    ... > a language) on prolog or lisp. ... Recommendations for learning ... NATURAL LANGUAGE PROCESSING IN PROLOG: ...
    (comp.lang.lisp)
  • Re: Forth and Co - The Return of the Jedi
    ... As was APL if your problems were of a mathematical bent, as was Lisp ... APL, Lisp, Prolog and Forth all have less users now ... it is not just a question of the languages adopted for teaching; ...
    (comp.lang.forth)
  • Fun with DCGs in Allegro
    ... (lemma (cdr body) ... I love being able to weave back and forth between Lisp and Prolog. ... ;;; MM3 headers got to be a little more complicated to express the ...
    (comp.lang.lisp)
  • Re: (Prolog + LISP + Erlang) with integration issues versus C++
    ... LISP ... > and connect Erlang to Prolog, Erlang to CLisp and CLisp to Prolog. ... I'm fairly sure this will solve your integration issues. ...
    (comp.lang.lisp)