ACM Transactions on Programming Languages and Systems (TOPLAS)
User Format Control in a LISP Prettyprinter
ACM Transactions on Programming Languages and Systems (TOPLAS)
Grammar-Based Definition of Metaprogramming Systems
ACM Transactions on Programming Languages and Systems (TOPLAS)
The impact of computer-aided software engineering on student performance
SIGCSE '91 Proceedings of the twenty-second SIGCSE technical symposium on Computer science education
KHEPERA: a system for rapid implementation of domain specific languages
DSL'97 Proceedings of the Conference on Domain-Specific Languages on Conference on Domain-Specific Languages (DSL), 1997
Proceedings of the twenty-second IEEE/ACM international conference on Automated software engineering
Hi-index | 0.00 |
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.