Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 21, 2005, 12:55 AM   #1
tuggy
macrumors newbie
 
Join Date: Feb 2005
Programming in Prolog

Hi everyone!

I've been searching for something to allow me to create prolog programs, i need it for school.
Is there something as a prolog ide for mac os? In windows i used WinProlog which is really great... i would prefer to stay away from too many command lines

thank you
tuggy is offline   0 Reply With Quote
Old Mar 21, 2005, 01:49 PM   #2
Loge
macrumors 68000
 
Loge's Avatar
 
Join Date: Jun 2004
Location: England
There are the following possibilities

http://www.cs.tcd.ie/open-prolog/

which runs in Classic, and

http://xgp.sourceforge.net/

I haven't used either I'm afraid; it's about 10 years since I fooled around with Prolog.
Loge is offline   0 Reply With Quote
Old Mar 22, 2005, 04:19 PM   #3
DaveP
macrumors 6502
 
Join Date: Mar 2005
A class I was in last year used the following program for prolog:
http://www.swi-prolog.org/

(It uses X11 though)
DaveP is offline   0 Reply With Quote
Old Oct 4, 2009, 11:44 AM   #4
stevekir
macrumors newbie
 
Join Date: Oct 2009
Micro-Prolog

Is there an implementation of Micro-Prolog for the Mac (PPC)?

I have tried OpenProlog which runs in Classic (OS 9) which I can run, which is a simple implementation of Prolog. But it comes with documentation of about only two pages long and mentions only the "member" clause and absolutely nothing else!! No syntax for rules or facts! So I can't even get started. It is also seems buggy.

I tried a GNU version but every time that I have tried a GNU software, or one that uses X11, I have found that it will not work. It seems that I cannot get on with it.

XGP is a full implementation of Prolog and too complex and unfriendly for my use.

Any ideas please?

Thanks

G5 PPC, OS 10.5.7, also 10.3.9 + Classic
stevekir is offline   0 Reply With Quote
Old Oct 4, 2009, 12:02 PM   #5
mags631
Guest
 
Join Date: Mar 2007
Quote:
Originally Posted by DaveP View Post
A class I was in last year used the following program for prolog:
http://www.swi-prolog.org/

(It uses X11 though)
While SWI is a little clunky and old school, it was the best free Prolog environment at least a couple of years ago.
mags631 is offline   0 Reply With Quote
Old Oct 4, 2009, 03:13 PM   #6
stevekir
macrumors newbie
 
Join Date: Oct 2009
Thanks. I'll try it.
stevekir is offline   0 Reply With Quote
Old Oct 7, 2009, 03:30 PM   #7
stevekir
macrumors newbie
 
Join Date: Oct 2009
Open Prolog Documentation

There is so little documentation with Open Prolog that it is impossible to get started the Quickstart simply tells how to consult the member clause (or whatever that sort of thing is called), deal with an error and a few lines on the debugger. I can write Facts likes(Tom, Mabel) but nothing more works. I can't even even write Rules, eg. (x likes z) if (x likes y) and (y likes z). This gives no response.

20 lines of documentation for a whole language is hopelessly inadequate. I have emailed Mike Brady who seems to be currently around but no response.

Any ideas about documentation? There must be more.

Thanks.
stevekir is offline   0 Reply With Quote
Old Jan 16, 2011, 04:55 PM   #8
Bill McEnaney
macrumors 6502
 
Join Date: Apr 2010
GNU Prolog runs on my iMac. So does SWI Prolog, but SWI Prolog's "spy" predicate won't work on that computer. I just don't know why it won't do that. It does work on Solaris platforms and on Windows platforms.
Bill McEnaney is offline   0 Reply With Quote
Old Apr 9, 2011, 04:17 AM   #9
Jan Burse
macrumors newbie
 
Join Date: Apr 2011
Check out Jekejeke Prolog

Hi tuggy

You could try Jekejeke Prolog. It is implemented 100% in Java and runs on macs that have 32-bit and 64-bit Java. It can be downloaded via www.jekejeke.ch .

Best Regards

Quote:
Originally Posted by tuggy View Post
Hi everyone!

I've been searching for something to allow me to create prolog programs, i need it for school.
Is there something as a prolog ide for mac os? In windows i used WinProlog which is really great... i would prefer to stay away from too many command lines

thank you
Jan Burse is offline   0 Reply With Quote
Old Apr 9, 2011, 04:07 PM   #10
Sydde
macrumors 68000
 
Sydde's Avatar
 
Join Date: Aug 2009
Quote:
Originally Posted by Jan Burse View Post
Hi tuggy

You could try Jekejeke Prolog. It is implemented 100% in Java and runs on macs that have 32-bit and 64-bit Java. It can be downloaded via www.jekejeke.ch .

Best Regards
You should note that tuggy started this thread 6 years ago and last posted 5 years ago
__________________
You got to be a spirit. You can't be no ghost.
Sydde is offline   0 Reply With Quote
Old Apr 9, 2011, 08:44 PM   #11
SidBala
macrumors 6502a
 
Join Date: Jun 2010
Yeah he probably graduated, got a job and worked up to the management level now.

He probably does not even have to write code any more.
SidBala is offline   0 Reply With Quote
Old Apr 10, 2011, 02:57 PM   #12
Bill McEnaney
macrumors 6502
 
Join Date: Apr 2010
I downloaded this one, installed it. clicked on the icon, expected a GUI, and saw a window where the computer should have prompted me. It didn't didn't prompt me. Although I typed commands in that window, the machine didn't interpret them.
Quote:
Originally Posted by Loge View Post
Bill McEnaney is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Mac programming should be more like iOS programming. moonman239 Mac Programming 13 Feb 17, 2014 01:37 PM
Prolog question Anteeks Mac Programming 0 Nov 18, 2012 08:49 AM
Some Prolog Help. Sir Night Train Mac Programming 0 Oct 10, 2012 10:33 PM
C++ programming jmfel1926 Mac Programming 4 Sep 14, 2012 07:21 PM

Forum Jump

All times are GMT -5. The time now is 04:58 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC