Comments (8)
Hmm, so I just noticed the comment on the front page about 8.3.something. I hadn't realised my ubuntu installation was that
far behind. I might have a bash at installing swipl manually.
from edcg.
The standard version of SWI-Prolog that comes with Ubuntu tends to be somewhat old.
However, the "=>" operator is quite new and I shouldn't have made it a requirement. (It's only in the latest "development" version of swipl)
I'll look at the code and figure out a way to remove "=>".
from edcg.
Many thanks.
On checking I find that 8.2.4 is actually the latest stable.
At this point I'm simply trying to understand the idea and whether it's what I need for the program I'm building so I imagine
everything will have fixed itself by the time I get my head round it!
from edcg.
A slightly older version of EDCG should be fine for you, but I'll have to figure out how to make the current EDCG backward-compatible.
The "development" version of SWI-Prolog is actually very stable. There are instructions for installing it here (no need to install manually): https://www.swi-prolog.org/build/PPA.html
from edcg.
As a quick fix, try this before :- use module(library(edcg)).
:
:- op(1200, xfx, '=>').
For more details on what this does: https://www.swi-prolog.org/pldoc/man?section=operators
from edcg.
from edcg.
Fixed with commit 3b3fb89
Please re-open if you still have a problem.
from edcg.
I've added another example:
https://github.com/kamahen/edcg/blob/master/t/puzzle.pl
from edcg.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edcg.