A pretty-printer for every occasion

Tool builders dealing with many different languages, and language designers require sophisticated pretty-print techniques to minimize the time needed for constructing and adapting pretty-printers. We combined new and existing pretty-print techniques in a generic pretty-printer that satisfies modern pretty-print requirements. Its features include language independence, customization, and incremental pretty-printer generation. Furthermore, we emphasize that the recent acceptance of {\sc xml} as international standard for the representation of structured data demands flexible pretty-print techniques, and we demonstrate that our pretty-printer provides such technology.

[1]  A. van Deursen,et al.  Algebraic specification of a language for describing financial products , 1995 .

[2]  Paul Klint,et al.  The syntax definition formalism SDF—reference manual— , 1989, SIGP.

[3]  Leon Moonen,et al.  Implementation of a prototype for the new ASF+SDF meta-environment , 1997 .

[4]  Jan A. Bergstra,et al.  The algebraic specification formalism ASF , 1989 .

[5]  C. M. Sperberg-McQueen,et al.  Extensible Markup Language (XML) , 1997, World Wide Web J..

[6]  John Hughes,et al.  The Design of a Pretty-printing Library , 1995, Advanced Functional Programming.

[7]  M. Mikelsons Prettyprinting in an interactive programming environment , 1981, SIGPLAN SIGOA Symposium on Text Manipulation.

[8]  Elham Morcos-Chounet,et al.  PPML: A General Formalism to Specify PrettyPrinting , 1986, IFIP Congress.

[9]  Anders Berglund,et al.  Extensible Stylesheet Language (XSL) Version 1.0 , 1998 .

[10]  Merijn de Jonge Boxenv.sty : a LATEX style file for formatting BOX expressions , 1999 .

[11]  Guy L. Steele,et al.  The Java Language Specification , 1996 .

[12]  Matti O. Jokinen,et al.  A language‐independent prettyprinter , 1989, Softw. Pract. Exp..

[13]  J. Rekers,et al.  Parser Generation for Interactive Environments , 1992 .

[14]  toExcel Extensible Stylesheet Language: Xsl Version 1.0 , 1999 .

[15]  Paul Klint,et al.  Compilation and Memory Management for ASF+SDF , 1999, CC.

[16]  R. Furuta,et al.  TEX and METAFONT, new directions in typesetting , 1983, Proceedings of the IEEE.

[17]  Gary T. Leavens,et al.  Prettyprinting styles for various languages , 1984, SIGP.

[18]  João Saraiva,et al.  Designing and Implementing Combinator Languages , 1998, Advanced Functional Programming.

[19]  Johannes Sametinger,et al.  User‐adaptable prettyprinting , 1989, Softw. Pract. Exp..

[20]  Arie van Deursen,et al.  Language Prototyping: An Algebraic Specification Approach , 1996, AMAST Series in Computing.

[21]  Eelco Visser,et al.  Generation of formatters for context-free languages , 1996, TSEM.

[22]  Eelco Visser,et al.  Syntax definition for language prototyping , 1997 .

[23]  Martin Ruckert Conservative pretty printing , 1997, SIGP.

[24]  C. M. Sperberg-McQueen,et al.  eXtensible Markup Language (XML) 1.0 (Second Edition) , 2000 .

[25]  Merijn de Jonge,et al.  Pretty-printing within the ASF+SDF Meta-Environment: a generic approach , 1999 .

[26]  Lisa F. Rubin Syntax-Directed Pretty Printing—A First Step Towards a Syntax-Directed Editor , 1983, IEEE Transactions on Software Engineering.

[27]  Ethan V. Munson,et al.  Today's Style Sheet Standards: The Gread Vision Blinded , 1999, Computer.

[28]  Eelco Visser,et al.  Strategic Pattern Matching , 1999, RTA.

[29]  J. Welsh,et al.  Formatted programming languages , 1981, Softw. Pract. Exp..