Introduction

Chez Scheme is an implementation of the Scheme programming language, a variant of Lisp. An interpreted version called Petite Chez Scheme is available “without license fee or royalty”. If you so desire you can download it and install it on your own computer. Visit http://www.scheme.com/ for more information.

This lab was written for Petite Chez Scheme version 7.3; some implementation details have changed between 7.3 and the current version (7.9.4), specifically with respect to referencing the empty list. Version 7.3 is available on the Q: drive -- I suggest you copy it to your local computer before running it.

Instructions

Start up Petite Chez Scheme. You will be presented with a listener window.

Note: You will submit a transcript of your session, along with some code you will write. To copy a transcript of your lab, right-click on the header bar and “Select All”; then hit [Enter] to copy. You can then paste into Word or your favorite text editor. Suggestion -- do this frequently, so you won't lose sections of completed work if there is a crash.

What you will turn in:

  1. A transcript of your Scheme session
  2. Some code that you will write, described at the end
  3. A brief description (a list or 1-2 paragraphs) describing any behavior you found surprising.

Download the step-by-step instructions.

Copyright © 1999-2008| Gene Rohrbaugh | Privacy Statement