This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
An Abstract Pretty Printer
November/December 1988 (vol. 5 no. 6)
pp. 61-67

The author has distilled the basic operations of the pretty printer into an abstract pretty printer that uses procedural parameters to perform low-level printing actions. By encapsulating the algorithm in one place, all the pretty-printing utilities will use the same algorithm, and the algorithm itself can be changed easily. The author describes how the abstract pretty printer can be used for basic design, printing to files and screens, setting the cursor, identifying a node, formatting text, and lexical changes.

Index Terms:
programming environments; abstract pretty printer; low-level printing; pretty-printing utilities; programming environments; utility programs
Citation:
Robert D. Cameron, "An Abstract Pretty Printer," IEEE Software, vol. 5, no. 6, pp. 61-67, Nov.-Dec. 1988, doi:10.1109/52.10004
Usage of this product signifies your acceptance of the Terms of Use.