Using Prolog

We will use prolog for the bonus homework, which provides a bonus credit to you.

There are several versions of prolog available. On the linux cluster of Computer Science Department at (linux.cs.uiowa.edu), the command to start prolog is gprolog (Gnu prolog)

You may go to http://www.gprolog.org/ to download a copy for your PC, or the manual of gprolog.

If you never run prolog, take this tutorial.