Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Perl and Prolog

by princepawn (Parson)
on Feb 05, 2002 at 11:08 UTC ( [id://143405]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl and Prolog
in thread Perl and Prolog

you can be unifying and verifying under Perl!
I have often wanted to write an article called AI::Prolog::DontBother It is much easier to map human reasoning to Perl than to Prolog. Actually CLIPS is a pretty good rule/expert system, and Mercury is a great step forward past Prolog, integrating functional and logic programming.

And a good book on the subject is David H.D. Warren's "Computing with Logic: Logic Programming in Prolog" which moves through propositional, predicate and functional logic (the last of which is what prolog uses).

An implementation of the first (propositional) logic is available in AI::Proplog.

But like I said, I dont think Prolog is really any more powerful than Perl and even though object and functional and procedural mechanisms are available in Perl, logical ones are not here and not apparently needed. ref Prolog-Perl Golf Association

Replies are listed 'Best First'.
Re^3: Perl and Prolog
by Anonymous Monk on Jan 27, 2010 at 01:34 UTC
    Um... No. For people who can only think procedurally, Prolog is very, very hard. For many things, it's very unnatural. But when you have a lot of complicated, interrelated data, Prolog is amazing. You will never ever want to go back to using databases again.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://143405]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found