Abstract Pretty printing is the task of nicely formatting tree structured data within a given line width limit. In 1980 Oppen published a pretty printing algorithm that takes time linear in the size of the input, independent of the line width, and uses only limited look-ahead. This work inspired the development of a number of purely functional pretty printing libraries in Haskell. Here I present a new functional pretty printing algorithm that has all the nice properties of Oppen’s and is surprisingly simple. A double-ended queue of delimited continuations is the key to addressing all aspects of the problem explicitly. Copyright c © 2006 University of Ken
International audiencePretty-printing can be described as finding a good-looking solution to typeset...
When implementing a programming language, we often write a parser and a pretty-printer. However, man...
XP provides efficient and flexible support for pretty printing in Common Lisp. Its single greatest...
Pretty printing is the task of nicely formatting tree structured data within a given line width limi...
There are several purely functional libraries for converting tree structured data into indented text...
We present two implementations of Oppen's pretty-printing algorithm in Haskell that meet the efficie...
An algorithm for prettyprinting using word wrapping is described that is independent of the languag...
Abstract. Galleys have been introduced by Jeff Kingston as one of the key concepts underlying his ad...
Abstract. We describe the design and implementation of a Standard ML of New Jersey library for the i...
In layout-sensitive languages, the indentation of an expression or statement can influence how a pro...
From an elegant specification, two effective algorithms for pretty-printing of arbitrary (non—circul...
We implemented a type-class for pretty-printing, similar to Haskell’s Show-class [1]. Moreover, we p...
. A generic compact printer and a corresponding parser are constructed. These programs transform val...
Loopless algorithms generate successive combinatorial patterns in constant time, producing the first...
PrettyPrinting is a Julia library for optimal formatting of composite data structures. It works by g...
International audiencePretty-printing can be described as finding a good-looking solution to typeset...
When implementing a programming language, we often write a parser and a pretty-printer. However, man...
XP provides efficient and flexible support for pretty printing in Common Lisp. Its single greatest...
Pretty printing is the task of nicely formatting tree structured data within a given line width limi...
There are several purely functional libraries for converting tree structured data into indented text...
We present two implementations of Oppen's pretty-printing algorithm in Haskell that meet the efficie...
An algorithm for prettyprinting using word wrapping is described that is independent of the languag...
Abstract. Galleys have been introduced by Jeff Kingston as one of the key concepts underlying his ad...
Abstract. We describe the design and implementation of a Standard ML of New Jersey library for the i...
In layout-sensitive languages, the indentation of an expression or statement can influence how a pro...
From an elegant specification, two effective algorithms for pretty-printing of arbitrary (non—circul...
We implemented a type-class for pretty-printing, similar to Haskell’s Show-class [1]. Moreover, we p...
. A generic compact printer and a corresponding parser are constructed. These programs transform val...
Loopless algorithms generate successive combinatorial patterns in constant time, producing the first...
PrettyPrinting is a Julia library for optimal formatting of composite data structures. It works by g...
International audiencePretty-printing can be described as finding a good-looking solution to typeset...
When implementing a programming language, we often write a parser and a pretty-printer. However, man...
XP provides efficient and flexible support for pretty printing in Common Lisp. Its single greatest...