ProLog Vs. LISP

Posted on 2003-03-02
Medium Priority
Last Modified: 2012-06-22
Hello experts, we know that prolog and lisp both are used AI based programs. Please tell me how do they differ?
what are the application areas of each? which one is easier to learn and which one is more popular.
Question by:thecuriousboy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 101

Accepted Solution

mlmcc earned 100 total points
ID: 8053048
prolog is based on known facts and relationships.

For instance if I have pairs that show child-parent relationship

All children's parents are/were married
Each child is uniquely named
(Tom, Frank) - Frank is Tom's dad
(Tom, Joan) - Joan is Tom's mom

I can then infer that Frank & Joan are parents and they are/were married.

From a list of child-parent relationship I can find out who is married to whom.

Look at

Lisp uses lists of information to determine things.
Lisp to most stands for Lots of Idiotic Single Parentheses.

Look at

There would probably be a big debate as to which is easier to learn.  

I learned Lisp many years ago.  The biggest problem I found was its lack of variables and thinking recursively.  Once you get used to the fact that all you have is functions and no variables as other labguages use them, it is a very interesting language to use.

I have played with Prolog a little but have never learned it or used it seriously.

There would also be a debate as to which is more in use.  Each side would feel its language is better.


Expert Comment

ID: 8054627
Learn both, LISP and Prolog are quite different although you might find conceptional commonalities between them. I like LISP better, but my AI professor worships Prolog so...

Expert Comment

ID: 8055140
The very basic difference between the two is that Prolog is based on logical representation of data, where as LISP uses List representations of data.. They are very different languages to be sure... I'll write more in the AM when I am not so tired :)

Expert Comment

ID: 9474592
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
LVL 101

Expert Comment

ID: 9482100
Not enough for a good split.  I think I provided sufficient information


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question