2025-03-14 21:59:59 -06:00
|
|
|
# swipl
|
|
|
|
|
|
|
|
|
|
> SWI-Prolog - A comprehensive free Prolog environment.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://www.swi-prolog.org/pldoc/man?section=cmdline>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
|
|
`swipl --version`
|