Advanced Search
DSpace@MIT

GPRINT - A LISP Pretty Printer Providing Extensive User Format-Control Mechanism

Research and Teaching Output of the MIT Community

Show simple item record

dc.contributor.author Waters, Richard C. en_US
dc.date.accessioned 2004-10-01T20:31:37Z
dc.date.available 2004-10-01T20:31:37Z
dc.date.issued 1981-10-01 en_US
dc.identifier.other AIM-611 en_US
dc.identifier.uri http://hdl.handle.net/1721.1/5696
dc.description.abstract A pretty printer is presented which makes it easy for a user to control the format of the output produced. The printer can be used as a general mechanism for printing data structures as well as programs. It is divided into two parts: a set of formatting functions, and an output routine. Each formatting function creates a sequence of directions which specify how an object is to be formatted if it can fit on one line and how it is to be formatted if it must be broken up across multiple lines. Based on the line length available, the output routine decides what structures have to be broken up across multiple lines and produces the actual output following the directions created by the formatting functions. The directions passed from the formatting functions to the output routine form a well defined interface: a language for specifying formatting options. Three levels of user format-control are provided. A simple template mechanism makes it easy for a user to control certain aspects of the format produced. A user can exercise much more complete control over how a particular type of object is formatted by writing a special formatting function for it. He can make global changes in format by modifying the formatting process as a whole. en_US
dc.format.extent 29 p. en_US
dc.format.extent 9452367 bytes
dc.format.extent 6806530 bytes
dc.format.mimetype application/postscript
dc.format.mimetype application/pdf
dc.language.iso en_US
dc.relation.ispartofseries AIM-611 en_US
dc.title GPRINT - A LISP Pretty Printer Providing Extensive User Format-Control Mechanism en_US


Files in this item

Name Size Format Description
AIM-611.ps 9.014Mb Postscript
AIM-611.pdf 6.491Mb PDF

This item appears in the following Collection(s)

Show simple item record

MIT-Mirage