mirror of https://github.com/CrimsonTome/tldr.git
25 lines
410 B
Markdown
25 lines
410 B
Markdown
# swipl
|
|
|
|
> SWI-Prolog - A comprehensive free Prolog environment.
|
|
> More information: <https://www.swi-prolog.org/>.
|
|
|
|
- Start an interactive session:
|
|
|
|
`swipl`
|
|
|
|
- Execute a command without showing any output:
|
|
|
|
`swipl --quiet -t "{{command}}"`
|
|
|
|
- Execute a script:
|
|
|
|
`swipl {{path/to/file.pl}}`
|
|
|
|
- Print all shell configuration variables:
|
|
|
|
`swipl --dump-runtime-variables`
|
|
|
|
- Print the version:
|
|
|
|
`swipl --version`
|