If you have Homebrew installed, you can simply run
brew install swi-prolog
from Terminal, which will build it from source in one command.
You can then run the interpreter using swipl.
If you have Homebrew installed, you can simply run
brew install swi-prolog
from Terminal, which will build it from source in one command.
You can then run the interpreter using swipl.