University of Toronto - Winter 2007
Department of Computer Science

CSC 324: Principles of Programming Languages

Assignment 5
Prolog Warm-up

This page contains links to all relevant documents for Assignment 5.

Specification of the Assignment

Assignment 5 Handout: PDF. (Posted Mon Mar 19. Note due date and deadline for submission.)

You must follow the following Code Requirements and Marking Information.
Please review the following helpful document on testing.
It's your responsibility to monitor the newsgroup and the A5 Clarifications Page for any clarifications or corrections. documentation.


Emacs Prolog Mode

Here is a very useful Emacs Prolog mode and here are instructions for setting it up, which are basically the lines you have to add to your .emacs file in your home folder. It sets ".pl" to be the default extension for Prolog file, which is what SWI uses.

Of course, you can also use other editors than Emacs, but if you decide to use it, this Prolog mode can be very useful as it already does some syntax checking for you. This way it can save you a lot of time when e.g. looking for the missing ',' in your code.

Back to the main page