Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re: Perl and Prolog

by princepawn (Parson)
on Feb 05, 2002 at 11:08 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://143405]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-02-25 23:07 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (369 votes). Check out past polls.