swipl: add page (#7433)

feature/windows-fix-syntax-2
Emily Grace Seville 2021-11-16 06:12:08 +10:00 committed by GitHub
parent bfb88a35e1
commit 2cda6e81cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/common/swipl.md Normal file
View File

@ -0,0 +1,24 @@
# 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`