Introduction to PROLOG
Outline
- Logic programming
- Introduction to PROLOG
- Continuations and backtracking
- A tutorial
on PROLOG.
- Another tutorial.
- Yet another Tutorial
Code developed in class
Instructions on how to download Prolog
The version that I used in class is SWI Prolog. Their web-site is:
www.swi-prolog.org
- Open the following page: http://www.swi-prolog.org/dl-stable.html
- Select the "MS-Windows" option and take it from there.
Notice that prolog programs end in ".pl"
The way this works is that you may select any editor you wish to
edit your prolog programs. When you double click on the icon of the
program you edited, Prolog loads and automatically opens the file
selected.
If you edit and save a file and then want to reload it, select
"File" and then "Reload modified files" from the SWI-PROLOG menu.