General use
- /usr/bin/prolog is the prolog query engine
- halt. to quit prolog entirely, (help) for help,
abort. to exit the current query (but not prolog entirely).
- ['filename']. to compile and load an existing file of prolog facts/rules,
a list of filenames is acceptable.
- control-c to interrupt, debug, or get help
(then a abort, e exit, b break, c continue t trace, d debug, h help)
- trace. and notrace. to turn on/off tracing
- graphical version: there is an associate gui prolog: xpce
(found at /usr/bin/xpce on our system)
- prolog scripts can be created using the #! line and the initialization goal,
see the example here: tscript.pl
Availability
Overview:
Terms
Rules, resolution and control
|
Data types and operations
I/O
Misc.
Advanced topics
DCGs: grammars and parsing |