2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/swipl
2021-06-08 20:42:25 +01:00

11 lines
283 B
Plaintext

# swipl
# SWI-Prolog is a versatile implementation of the Prolog language.
# run Prolog interpreter in interactive mode
swipl
# consult file.pl, run goal mygoal(3,foo)
# and then halt the interpreter without entering interactive mode
swipl -s file.pl -g "mygoal(3,foo)." -t halt.