LinuxCommandLibrary

swipl

SWI-Prolog - A comprehensive free Prolog environment.

TLDR

Start an interactive session

$ swipl
copy


Execute a command without showing any output
$ swipl --quiet -t "[command]"
copy


Execute a script
$ swipl [path/to/file.pl]
copy


Print all shell configuration variables
$ swipl --dump-runtime-variables
copy


Print the version
$ swipl --version
copy

Copied to clipboard