Introduction to PROLOG

Outline

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
  1. Open the following page: http://www.swi-prolog.org/dl-stable.html
  2. 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.