                Pattern Matching for Scheme

Copyright (c) by Andrew K. Wright, 1993 (wright@research.nj.nec.com).
Adapted from code originally written by Bruce F. Duba, 1991.  This
package also includes a modified version of Kent Dybvig's
define-structure (see Dybvig, R.K., The Scheme Programming Language,
Prentice-Hall, NJ, 1987).

This software is in the public domain.  Feel free to copy, distribute,
and modify this software as desired.  No warranties nor guarantees of
any kind apply.  Please return any improvements or bug fixes to
wright@research.nj.nec.com so that they may be included in future
releases.

This package consists of 6 files:

  README-match   - this file;
  CHANGES-match  - change list from earlier versions;
  match-slib.scm - source for systems using SLIB;
  match-chez.ss  - alternate source for Chez Scheme systems;
  match.tex      - documentation source, requires SLaTeX;
  match.dvi,ps   - DVI and PostScript documentation.

For Chez Scheme, compile the pattern matcher by:
   (compile-file "match-chez.scm" "match.so")
Compiling this file sets optimize-level appropriately.  Load the
pattern matcher by (load "APPROPRIATE-PATH/match.so") in programs
that use pattern matching.

For Scheme 48, load the pattern matcher into the top-level environment
by:
    ,config ,load APPROPRIATE-PATH/match-s48.scm
    ,open match

For other Scheme systems, first obtain and install SLIB.  Load the
pattern matcher by (load "APPROPRIATE-PATH/match-slib.scm").  There
are a few definitions at the top of "match-slib.scm" that you may want
to tailor to your specific Scheme system.

This software has been tested with Chez 4.1, Scheme 48 (version 0.37),
SCM, and MITSCHEME.  If you port it to any other systems, please
return the changes to me.  See the FAQ for comp.lang.scheme for
information about SLIB and SLaTeX.
