This tutorial assumes that you are using SWI-Prolog as your Prolog interpreter on a Windows platform. If either of these assumptions is incorrect, then you will need to make appropriate adjustments to these instructions yourself. The only aspects of this guide that should need to change are the instructions on this page.
The library code comes packaged in a zip file. To install it, simply unzip the contents of the file into a new directory.
There are a number of ways to load the library code. I shall describe two here:
load.pl in the library directory.This will start the Prolog interpreter and load the library files, ready for use.
Start the Prolog interpreter by double clicking on the desktop icon (or select it from the Start menu). Then change directory to the folder where you unzipped the library code:
?- cd('D:/Prolog/YiTool').
From there, you can load the library code:
?- [load].
This loads the library code into the Prolog process, ready to use. Once the library is loaded, you can display the release date for the version of the library loaded with the following call:
?- release_date(D).