User‐adaptable prettyprinting
- 1 July 1989
- journal article
- Published by Wiley in Software: Practice and Experience
- Vol. 19 (7) , 687-702
- https://doi.org/10.1002/spe.4380190703
Abstract
This paper presents a prettyprinter for high‐level languages that can be adapted to the personal preferences of an individual user or to particular project conventions. The customization of the prettyprinter is done by means of a user profile with a set of parameters. The available parameters have been chosen with respect to minimality of the user interface and reasonable flexibility. The paper includes a complete list of all parameters with examples. The prettyprinter is fairly portable; it consists of a language‐independent back end and a front end that is created by a compiler generator from a formal description of the language to be processed. Currently, Modula‐2 and Pascal versions of the prettyprinter have been implemented.Keywords
This publication has 17 references indexed in Scilit:
- Systematic identation in PL/IACM SIGPLAN Notices, 1986
- Prettyprinting styles for various languagesACM SIGPLAN Notices, 1984
- A specification schema for indenting programsSoftware: Practice and Experience, 1983
- Formatted programming languagesSoftware: Practice and Experience, 1981
- Automatic indention versus program formattingACM SIGPLAN Notices, 1980
- PrettyprintingACM Transactions on Programming Languages and Systems, 1980
- A formatting parser for PASCAL programsACM SIGPLAN Notices, 1980
- Prettyprinting PASCAL programsACM SIGPLAN Notices, 1978
- On the formatting of Pascal programsACM SIGPLAN Notices, 1977
- An automatic formatting program for PASCALACM SIGPLAN Notices, 1977