Chez Scheme Version 6.1
Distribution Contents and Installation Instructions
Cadence Research Systems

NOTE: This version is out-of-date

A newer, open-source version of Chez Scheme is available at


Chez Scheme is an efficient and robust implementation of Scheme with support for all required and optional features of the ANSI/IEEE Scheme Standard and the Revised^4/Revised^5 Reports on Scheme along with a number of language and programming environment extensions. Chez Scheme employs an incremental optimizing compiler that produces efficient code and does so quickly.

Petite Chez Scheme is a complete Scheme system that is fully compatible with Chez Scheme but uses a fast interpreter in place of the compiler. It was conceived as a run-time environment for compiled Chez Scheme applications, but is also a stand-alone Scheme system. Programs written for Chez Scheme run unchanged in Petite Chez Scheme, as long as they do not depend specifically on the compiler. In fact, Petite Chez Scheme is built from the same sources as Chez Scheme, with all but the compiler sources included.

Chez Scheme and Petite Chez Scheme are packaged with complete online documentation in the form of two books written by R. Kent Dybvig: The Scheme Programming Language, Second Edition and the Chez Scheme User's Guide. The Scheme Programming Language, Second Edition is included with permission from Prentice Hall, the publisher of the print edition.

Both systems are copyrighted by Cadence Research Systems and are distributed under license. Use of Chez Scheme requires a license fee, while use of Petite Chez Scheme does not. Petite Chez Scheme is freely redistributable, while Chez Scheme may not be redistributed in any form. Details are given in the license agreements presented when the software is installed.

The Scheme Widget Library (SWL) is a free windowing and graphics package for Chez Scheme. It includes an object system for Scheme, a threaded windowing and graphics library, and various tools, including a window-based REPL (read-eval-print loop) window, a simple editor, a source-file viewer, and a document viewer. It is distrubuted with online documentation in the form of the SWL Reference Manual, written by Oscar Waddell.

SWL is copyrighted by Oscar Waddell. It is based on Tcl/Tk, which is copyrighted by the Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, and other parties. SWL and Tcl/Tk are freely distributable. Details are contained within the SWL and Tcl/Tk distributions.

Distribution Contents

Release notes, etc.

Petite Chez Scheme

Scheme Widget Library (SWL)

Tcl/Tk (required by SWL)

Installation Instructions

During installation, you will be asked to read the license agreements for Chez Scheme and/or Petite Chez Scheme. Please do not proceed with the installation if you do not agree to the terms of the license agreement. Use of Chez Scheme, which is compiler-based, requires a license fee. It cannot be redistributed. Use of Petite Chez Scheme, which is interpreter-based, does not require a license fee, and it may be redistributed. Petite Chez Scheme may be used as a stand-alone Scheme system or as an application-delivery vehicle for compiled code produced by Chez Scheme. Please refer to the license agreements and to white paper on Petite Chez Scheme contained in, for details.

Windows 95/98/ME/NT/2000/XP installation

To install both Chez Scheme and Petite Chez Scheme under Windows, run csv61.exe. To install Petite Chez Scheme only (e.g., for home use or as part of a delivered application), run pcsv61.exe. Either executable also installs the online documentation. To install SWL, run swl09u.exe after installing either Chez Scheme or Petite Chez Scheme.

Chez Scheme, Petite Chez Scheme, and SWL can be uninstalled via the add/remove programs icon in the control panel.

Linux RPM installation

The easiest way to install Chez Scheme under linux is via RPM if you have it. To use RPM, run

rpm -i ChezScheme-6.1-1.i386.rpm

To install Petite Chez Scheme under Linux, run

rpm -i PetiteChezScheme-6.1-1.i386.rpm

Both can be installed, in either order. The online documentation will be placed in /usr/lib/csv6.1/csug and /usr/lib/csv6.1/tspl2d. To install SWL under Linux, run

rpm -i SWL-0.9u-2.i386.rpm

You will first need to install Tcl/Tk 8.0.4 or later, as well as Chez Scheme, if not already installed.

Chez Scheme, Petite Chez Scheme, and SWL can be uninstalled with 'rpm -e <package-name>'.

Unix installation

To install Chez Scheme and/or Petite Chez Scheme from a .tar.gz file, first unpack the .tar.gz file. This will produce the directory csv6.1 containing the software. The file csv6.1/ReadMe contains installation instructions, but generally the following suffices:

cd csv6.1/custom
make install m=<machine-type>

To install both Chez Scheme and Petite Chez Scheme, start with csv6.1-<machine-type>.tar.gz. To install only Petite Chez Scheme, start with pcsv6.1-<machine-type>.tar.gz instead.

Installation in either case will place the online documentation, by default, in /usr/local/lib/csv6.1/csug and /usr/local/lib/csv6.1/tspl2d. You may wish to establish a web link to these where they can be accessed by everyone on your system, but please do not make them available outside of your site.

For multiple .tar.gz files, it is safe and often desirable to unpack them into the same directory. You must run 'make clean' between makes for different machine types, however.

To install SWL on a Unix system, unpack swl0.9u-src.tar.gz, which will produce the directory swl0.9u. Edit Mf-install if necessary to change installation target directories. Also edit lib/index.html to reflect where you have placed the directories "csug" and "tspl2d" above. Finally, run

make install

in swl0.9u. You will first need to install Tcl/Tk 8.0.4 or later, as well as Chez Scheme, if not already installed.