Re: why not use LISP-imp of Prolog as opposed to Prolog itself?



http://www.amazon.com/gp/product/1558601910/002-6413815-3000828?v=glance&n=283155



Lisp has been getting a higher profile lately because of essayists
like Paul Graham and Philip Greenspun; in particular, Greenspun's
Tenth Rule of Programming which states: "Any sufficiently complicated
C or Fortran program contains an ad hoc, informally-specified, bug-
ridden, slow implementation of half of Common Lisp." So, should this
book be read as an exhortation to return to Lisp as the preferred
programming language?

Paradoxically, I think not. One third of the way through the book,
Norvig shows us how to implement Prolog in Lisp. From then on out,
most of the AI techniques he presents either directly use Prolog
instead of Lisp (such as his excellent discussion of natural language
processing using Prolog) or use Prolog as a base to build on (such as
his discussions on knowledge representation).

From this we can abstract what I'd like to call Norvig's Corollary to
Greenspun's Tenth Law of Programming: "Any sufficiently complicated
LISP program is going to contain a slow implementation of half of
Prolog". I'm leaving out the "ad hoc", "bug-ridden" part of
Greenspuns's law, because Norvig's programs are neither. But it is
quite remarkable the degree to which, once having absorbed Prolog,
Norvig uses Prolog as the basis for further development, rather than
Lisp.

Is this a book about Prolog then? Again, no. What is the take-away
message? It is this: as our world becomes more and more complex, and
as the problems which programmers are facing become more and more
complex, we have to program at a higher and higher level.

.



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)