I am having the hardest trouble trying to run SWI-prolog on my Mac.
When I type:
/opt/bin/local/swipl
I get an error saying:
/opt/local/bin/swipl: No such file or directory
When I just type "swipl" I …
I have an interest in playing and fuxing with prolog, I have installed the swi-prolog and added the repository, just in case anyone is interested on which one commands I used:
% sudo apt-add-repository ppa:swi-prolog/stable
% sudo apt-get update
% sudo …
I want to load this simple something into my Editor:
Write:-repeat,write("hi"),nl,fail.
So that it prints "hi".
What should I do?
I'm currently trying to do File->New
and Saving a file named Write into …