What's a good Prolog IDE for Linux? [closed]

2019-03-17 02:56发布

问题:

I need to write some Prolog programs for a class.

Any recommendations?

回答1:

Prolog mode for (X)Emacs.

See http://bruda.ca/emacs-prolog/



回答2:

As mentioned you can use SWI-Prolog. If you like Eclipse there is an Eclipse plug-in that integrates SWI-Prolog into Eclipse. This way you have the best of both worlds, for example the SVN etc functions of Eclipse and the graphic debugger of SWI-Prolog. Worth checking out.

http://sewiki.iai.uni-bonn.de/research/pdt/start



回答3:

SWI-Prolog comes with excellent IDE tools, an Emacs-clone text editor, interactive debugger, complete browseable help system and docs. Give it a try.



回答4:

A good point to start is to use Emacs' default Prolog mode plus the additions described here. You can also try ediprolog, which aims for a tighter Emacs-Prolog integration.



回答5:

I've not tried it (mostly because I never thought to combine the words "Prolog" and "NetBeans" before now), but there appears to be Prolog support for NetBeans. It's not a simple plugin, but a tutorial that shows how to add Prolog support to NetBeans.



回答6:

Ideone supports Prolog. You can use it online just with a browser.



回答7:

Prolog Development Tools (ProDT) is a Prolog Integrated Development Environment (IDE) aiming to be as rich in functionality as the Eclipse's java IDE, giving the developer a single environment where it can control the development of a Prolog project from code edition, test execution, etc...

This project stands on top of Eclipse's projects to take advantage of its already existent features and its extensibility and works on any environment Eclipse works including windows, linux and mac OSX.

It support as underlying interpreters: SWI-prolog, XSB prolog, B-prolog

The site has more information about the project including installation and features list: http://prodevtools.sourceforge.net/

Hope you can find it useful!!! :)



回答8:

SPIDER is a Eclipse-based IDE for SICStus Prolog. SICStus Prolog also has a very useful Emacs mode.



回答9:

If you are used to an Emacs environment I would recommend the Ciao distribution. Go to: http://ciaohome.org/



回答10:

swi prolog and emacs extension is preinstalled in almost every linux distribution. You can check this using e.g., the commands below in and X11-enabled (graphical) environment. This should open a new window with the built-in Emacs clone.

% swipl
?- emacs.

http://www.swi-prolog.org/build/LinuxDistro.txt



回答11:

Visual Prolog (works with Wine).



回答12:

I just use Vim or jEdit. Prolog as a language doesn't really lend itself to strong IDE support. For one thing, it's dynamically typed, which throws a huge wrench into tooling. For another, it's a logic-based language, which means that the "code flow" (order in which you construct the program) is non-linear. Existing techniques for building highly advanced IDEs just don't apply to that sort of paradigm.



回答13:

You could use Gprolog, we use that in our class. Use consult('filename') to load the database.



回答14:

Honestly, I can't see an 'IDE' helping out much on prolog. It'll only aid in finding syntax errors. The rest is in the debugging and the thought process.

Get syntax-highlighting with any editor and you're set to go.



标签: linux ide prolog