G. Blaschek, J. Sametinger: User-Adaptable Prettyprinting, Software - Practice and Experience, Vol. 19, No. 7, pp. 687-702, July 1989.
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, a Modula-2 and a Pascal version of the prettyprinter are implemented.
Keywords: Modula-2; Pascal; Prettyprinting; Program Formatting; Parameterization.