SWI-Prolog is a Prolog
implementation that specifically aims at large and real-world
applications.
This is not what you will experience!
SWI-Prolog provides rich libraries for web programming, RDF handling,
database access, networking, etc. We can not expose the full system in
the web version for various reasons, security being the most important.
If you want to work on a real application, download your own
copy.
So, why then this online version?
Well, the online version can offer things that a local copy can not.
Here are some examples.
- No installation required. Only needs a recent browser.
- You can play with some examples to get a basic feeling
what Prolog programming looks like.
- You can do exercises from e.g.
Learn Prolog Now!
- You can save your code and share
both the code and example queries with anyone on the web.
- You can collaborate using
TogetherJS on a problem with
anyone on the web.
The future of the online version
The current online version is an early prototype. We have
several plans with it. If you are not impressed, please visit this page
again in a couple of months. These are the main plans:
- More structured (versioned) saving of sources. Provide authenticated
users to add example code that can be found by others.
- Enhanced editing mode with tooltip-based explanation, insert of code
templates, etc.
- Smart and pluggable output mode that allows rendering results as
tables, graphs, trees, etc.
- Make the debugger available through the web interface.
- Integrate the web interface in online tutorials.
- Allow using the web interface on a local copy, providing unrestricted
access after authentication. This provides shared development on a
remote or embedded copy of Prolog.
Please be patient or contribute to SWISH at GitHub