SWI-Prolog is an open source implementation of Prolog that runs on Unix, Windows and Mac.
I am having the hardest trouble trying to run SWI-prolog on my Mac. When I type: /opt/bin/local/swipl …
macos installation osx-mavericks swi-prologI have an interest in playing and fuxing with prolog, I have installed the swi-prolog and added the repository, just …
linux ubuntu prolog swi-prologI want to load this simple something into my Editor: Write:-repeat,write("hi"),nl,fail. So that it prints "…
procedure swi-prolog prolog-toplevelI'd like to read a plain text file and apply a predicate to each line (the predicates contain write which …
io prolog swi-prolog dcgin SWI Prolog terminal how do I view the current working directory and change the current working directory? I found: …
swi-prologI'm using SWI-Prolog and I'm trying to print a list but if the list has more than 9 items - it …
prolog swi-prolog prolog-toplevelIs there a way to just create a prolog script called hello.pl like this: #!/usr/local/bin/swipl -q …
shell command-line prolog executable swi-prologI know I can do X is random(10). to get a random number from 0 to 10, but is there a similar …
random prolog swi-prologMy SWI-Prolog knowledge base contains the following two facts: f(a,b). f(a,c). Now if I pose the …
prolog swi-prolog prolog-toplevelI am trying my hands on SWI-Prolog in win xp. I am trying to understand how to split a sentence …
prolog swi-prolog dcg