Message Boards Message Boards

1
|
12037 Views
|
3 Replies
|
4 Total Likes
View groups...
Share
Share this post:

implemeting Prolog in WL

Posted 9 years ago

i am interesting in doing logic programming in WL. i thought i could simply use Roman Maeder's implementation of Prolog in Mathematica - he has 2 articles on it

http://www.mathematica-journal.com/issue/v4i1/columns/maeder/53-63_Roman41.mj.pdf

http://www.mathematica-journal.com/issue/v4i2/columns/maeder/38-43_maeder42.mj.pdf

but it has been reported that it doesn't work in v.5 or higher of Mathematica.

does anyone know how to implement logic programming in WL (i.e. in Mathematica)?

Attachments:
POSTED BY: Richard Gaylord
3 Replies
Posted 9 years ago

Thanks Kay! The code looks great.

If you run across the other implementation that you mentioned, please let us know.

POSTED BY: Bruce Colletti

Here is another implementation: http://library.wolfram.com/infocenter/MathSource/809/

Somewhere I found (a couple of years ago) another really good implementation, but I can't find it right now (it was only a couple of lines of code!

POSTED BY: Kay Herbert
Posted 9 years ago

We're both interested in this, Richard.

Some years ago I was told "It's easy" and was sent to Roman's well-written papers (he's a real pro). But eventually it didn't work out for reasons I no longer recall.

Bruce

POSTED BY: Bruce Colletti
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract