.c	Friday  May 20,1983  2:59  FQ+18H.52M.51S.  -*- Bolio -*-

.headings off

.c These little horseshow frobs are until Moon fixes .space to work at
.c the top of a page ***
 
.space 7
.center 9Pretty Printing*
.space 1
.center 1in*
.space 1
.center 9VAX NIL*
.space 5
.center June 1983
.space 3
.center 5Glenn S. Burke*
.space 1
.center 5Lowell B. Hawkinson*
.space 8
.nopara
This report describes research done at the Laboratory for Computer
Science of the Massachusetts Institute of Technology.  Support for
this research was provided in part by the National Institutes of
Health grant no. 1 P01 LM 03374-04 from the National Library of
Medicine, the U. S. Air Force under grant F49620-79-C-020, the
National Aeronautics and Space Administration under grant NSG 1323,
the U. S. Department of Energy under grant ET-78-C-02-4687, and
the Digital Equipment Corporation of Maynard, Massachusetts, with
grants of equipment.
.space 5
.center "MASSACHUSETTS INSTITUTE OF TECHNOLOGY"
.center "LABORATORY FOR COMPUTER SCIENCE"
.spread /CAMBRIDGE//MASSACHUSETTS 02139/
.page
.c These little horseshow frobs are until Moon fixes .space to work at the top of a page ***
 

.center 5Abstract*

This paper describes the implementation of the pretty-printer and
related facilities as they exist in the lan{nil} language.  This is
an interim document, supplied only for the purpose of providing
documentation on the facilities which the pretty-printer offers.
.space 2
.center 5Acknowledgments*

The basic formatting facility is entirely the work of Lowell
Hawkinson.  The extensions to it, from which the lan{lisp}
expression pretty-printer is built, are the work of Glenn Burke.
Input and suggestions (not all of them followed through on) had been
provided by by William Martin and Peter Szolovits.  The format and
content of this document, and errors therein, are totally the
responsibility of Glenn Burke.

.sp 2
.center 5Note*

Any comments, suggestions, or criticisms will be welcomed.  Please send
Arpa or Chaos network mail to BUG-NIL@MIT-ML.

Those not on the Arpanet may send U.S. mail to
.lisp
.c Doesn't look like lisp to me!!!
1Glenn S. Burke
Laboratory for Computer Science
545 Technology Square
Cambridge, Mass. 02139*
.end_lisp

Some of the documentation presented here is extracted from the source
code of the files which comprise the pretty-printer, using the
lan{lsb} tools.  It does not directly mesh with the source code
distributed with lan{nil} release 0.259, however, as it is an
eleventh-hour attempt to provide documentation for that release.  This
document will be superceded at some future date by one or more other
documents which include better documentation of the primitives
from which the pretty-printer is built, and discussions of
pretty-printing in general.

.c Figure out how much space needed here.
.space 8
.nopara
  c    Copyright by the Massachusetts Institute of Technology; Cambridge, Mass. 02139
.br
Permission to copy all or part of this material is granted, provided
that the copies are not made or distributed for resale, the MIT
copyright notice and the title of this document and its date appear,
and that notice is given that copying is by permission of
Massachusetts Institute of Technology.
.page

