cs 325 home

Assignment 1: Set up a working Lisp environment

To set up the Lisp -- and email -- environment you'll be using for the rest of this class.

Set up Common Lisp

If you have no preference, install Allegro Common Lisp. It's available at Franz, Inc.. This will be the Lisp that most students will be using, so you'll get the best local support if you run into trouble.

You can use any other Common Lisp (but not Scheme!), as long as it supports the portable AllegroServe library for Lisp-based web services.

Install the CS 325 files

Make a CS 325 directory, e.g., in Windows, it might be "c:\cs325".

Download cs325.zip. Unzip the contents of that file into your CS325 directory.

If you're using Allegro CL,

If you are using some other Common Lisp, find out what file it loads at start up time and modify it to do what startup.cl does.

Test your Lisp

Start your Lisp. If you get any error messages, you either modified your startup file incorrectly, or put files in the wrong place.

If Lisp starts OK, type:

(in-package :cs325-user)

followed by a carriage return. In Allegro, the prompt should now indicate that you're in CS325-USER.


(critique (defun foo (x) (setq x (+ x 1))))

If all has been set up correctly, the above should cause several critiques of the above code to appear. If not, you need to fix your start up file.

Submit Report

Email to c25@cs.northwestern.edu

Where to get help:

There's a lot of ways to make trivial errors in configuring any language environment, and most of them lead to fairly cryptic messages and behavior.

The best source of help will be the CS 325 Blackboard site.

Comments? Send mail to Chris Riesbeck.