• DocumentCode
    745280
  • Title

    An abstract pretty printer

  • Author

    Cameron, Robert D.

  • Author_Institution
    Sch. of Comput. Sci., Simon Fraser Univ., Burnaby, BC, Canada
  • Volume
    5
  • Issue
    6
  • fYear
    1988
  • Firstpage
    61
  • Lastpage
    67
  • Abstract
    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.<>
  • Keywords
    programming environments; utility programs; abstract pretty printer; low-level printing; pretty-printing utilities; programming environments; Algorithms; Printers; Printing; Reactive power;
  • fLanguage
    English
  • Journal_Title
    Software, IEEE
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/52.10004
  • Filename
    10004