Online Prolog Compiler, Online Prolog Editor, Online Prolog IDE, Prolog Coding Online, Practice Prolog Online, Execute Prolog Online, Compile Prolog Online, Run Prolog Online, Online Prolog Interpreter, Execute Prolog Online (GNU Prolog v1.4.4). OnlineGDB is online IDE with C compiler. Quick and easy way to compiler c program online. It supports g compiler for c. It is fine for running basic Prolog code without surprises. The development version is released roughly every two to four weeks. This is the recommended version for developers and users of applications such as SWISH or ClioPatria. Finally, the GIT and daily versions are for developers that want to contribute or have immediate access to patches. These versions are generally fine, but occasionally suffer from. Visual Prolog is different enough from the ISO standard for Prolog that most Prolog programmers do not consider it 'real prolog'. SICStus Prolog is an ISO compliant commercial Prolog implementation. There are some others that are Prolog-like but with substantial extensions, such as ECLiPSe (not to be confused with the IDE) and Mercury. Visual Prolog is a product developed by Prolog Development Center A/s.This site is not directly affiliated with Prolog Development Center A/s.All trademarks, registered trademarks, product names and company names or logos mentioned herein are the property of their respective owners. This compiler accepts Prolog + constraint programs and produces native binaries. The obtained executable is subsequently stand-alone. The size of this executable can be quite small since GNU Prolog can avoid linking the code of most unused built-in predicates. The performance of GNU Prolog is very encouraging (comparable to commercial systems).
I need to start learning Prolog for my job.
I haven't used Prolog before and my company needs to build a program that will use Prolog.
So the program will be used commercially.
So some questions:
1) Does Prolog use a compiler to compile the programs. Like gcc does for c?
2) Is there commercial standard of Prolog? I have only heard of SWI Prolog.
3) I have been using GNU Emacs with Linux for many years. I am thinking of using the Prolog.el package? Any comments on that?
closed as off-topic by Blorgbeard, iandotkelly, Todd, Kon, Kumar BibekJan 7 '14 at 5:05
This question appears to be off-topic. The users who voted to close gave this specific reason:
'Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – iandotkelly, Todd, Kon
If this question can be reworded to fit the rules in the help center, please edit the question.
7 Answers
The most elaborate Prolog IDE I'm familiar with is the Eclipse-based IDE for Amzi! Prolog. This is a commercial product, but the IDE can be downloaded and used for free in the Student Edition. It might be ideal for a beginning Prolog programmer. Disclaimer: I may be biased because I supply a lot of free advice at Amzi!'s support forum. I think there's an open source Eclipse plugin that supports some of the open source Prolog implementations as well. Update (May, 2016) Amzi! Prolog v. 10 has now become open source using an MIT-like license.
Although SWI-Prolog is open source (GPL), it is possible to develop commercial applications with it, as with several other open source Prolog implementations like GNU Prolog and YAP. Besides Amzi! Prolog there are several other commercial products. Visual Prolog is different enough from the ISO standard for Prolog that most Prolog programmers do not consider it 'real prolog'. SICStus Prolog is an ISO compliant commercial Prolog implementation. There are some others that are Prolog-like but with substantial extensions, such as ECLiPSe (not to be confused with the IDE) and Mercury. A number of commercial implementations of Prolog have become obsolete over the years, as when IF Prolog was superseded by MINERVA. Here's a list of implementations from 2006.
I know many programmers who speak highly of the Prolog mode for GNU EMACS. However I'd think a beginner would benefit from an integrated debugger/editor such as Amzi! Prolog offers. SWI-Prolog has a graphical IDE under construction based on XPCE, which is the graphical interface library SWI-Prolog has chosen for cross-platform development. Almost all programmer editors will supply syntax highlighting for Prolog, with the right definitions file installed.
SICStus Prolog has an IDE based on Eclipse. The SICStus IDE has many advanced features not found in competing products, free or commercial. Among other things it detects syntax errors and other common mistakes as you type, which can be especially valuable for a beginner.
SICStus also has an Emacs mode but it does not offer all of the functionality of the Eclipse-based IDE.
You can download an evaluation of SICStus Prolog from the home page.
I am biased, I am one of the SICStus Prolog developers and the developer of the SICStus Prolog IDE.
Per MildnerPer Mildner
You can generally compile your prolog project. However, depending on the prolog environment you are using, it might be an intermediate code and not directly executable code.SWI Prolog and Sicstus prolog both allow to generate an executable of this form (embedding the interpreter along with you compiled intermediate code).Other prologs like Arity Prolog/32 compiles directly to an x86 executable. There is a page on Wikipedia that compares various prolog systems.
Prolog Compiler For Windows
There is an ISO standard for prolog. However almost every prolog system will be mostly compatible with each other, requiring minor changes to port the code from one prolog system to another.
gusbrogusbro
In addition to what gusbro already said: SWI-Prolog is, I think, the best Prolog for learning. It may not be the fastest implementation, but is has quite a few bells & whistles such as command line editing and a built-in Emacs-like editor, it's free software and it's easy to install on both Windows and Linux (and Mac OS X, too, I reckon). It's implemented as a bytecode compiler for a virtual machine, like most Prologs; even the ones that produce native code often use a virtual machine at some point.
The basics of Prolog are much the same among implementations; non-standard extensions such as extra libraries, OS interfaces, constraint programming etc. tend to be a little different.
Various Prolog-Java and Prolog-C# interfaces interfaces exist. SWI has extensions that allow it to function as a web server.
I'm using the swi-prolog built in ide for commercial development.
Depending on your os, you might need to start with swipl-win.exe or xpceto get the graphic environment
AnniepooAnniepoo
I am using an eclipse IDE plug-in called PDT. The installation is fairly easy and I think it is a nice environment. After installation, you can follow the instructions at the 'getting started page' to finish your installation and get you up and running.
cupnoodlescupnoodles
if you are used to work in an emacs environment you should try using the Ciao distribution. It has many interesting and powerful features, libraries, and is also GNU LGPL license. Highly documented and supported.Go to http://ciaohome.org/
mllmll
Not the answer you're looking for? Browse other questions tagged prolog or ask your own question.
Active5 years, 11 months ago
Can anyone recommend a Prolog compiler for .Net.
The ones that I have been able to find searching the net, do not appear to have been updated for several years.
Ahhm, I googled for 'Prolog.NET' and found this (1st result btw)
Prolog.NET is a full featured Prolog programming environment for the .NET Framework. It includes an enhanced compiler with language extensions and a code generator targeting Microsoft's Intermediate Language (MSIL) and integration with Visual Studio .NET Integrated development environment.
I have used C#Prolog by John Pool Hydro gear zt 3400 manual.
The source code is available and in C#. Setup openvpn on windows. There are also several PDF articles in the download. Nice if you want to dig into the internals.
Check out XProlog. It is extremely lightweight and it offers a compiler and a runtime DLL (30K in size). Full source code is available on GitHub that is exhaustively unit-tested. Although it is currently missing some basic Prolog features like lists, it does allow for building functional programs and even supports definite clause grammars. The XProlog compiler is written in XProlog and it compiles itself.
Disclaimer: I am the author of XProlog. It took me 4 months to write it and it was written for a task I then had at hand and now it is just sitting there on GitHub waiting for other great tasks. Hope you find it useful: Jab tak hai jaan download.
Sergey SlepovSergey Slepov
If you dont find you maybe need this tool Microsoft Oslo (Codename). This is a software for can create DSL's and work perfectly for develop a diagram syntax for compilers.
Check this link http://www.codeproject.com/KB/cs/Oslo_MGrammar.aspx?display=PrintAll