Pretty-printing within the ASF+SDF meta-environment : a generic approach
The automatic generation of formatters for (programming) languages within the Asf+Sdf Meta-Environment is a research topic that is concerned with the construction of language specific formatters (or pretty-printers) given a language definition in Sdf. In this paper, we give an overview of pretty-printers that have been developed within this project and observe that these pretty-printers are either language dependent or non-customizable. Language independence and customizability are inevitable properties of pretty-printers however, when faced with the problem of formatting many different, evolving languages. Therefore, we introduce in this paper a generic framework for pretty-printing and describe an instantiation of the framework that forms a language independent and customizable pretty-printer.
|ANALYSIS OF ALGORITHMS AND PROBLEM COMPLEXITY (acm F.2), DISCRETE MATHEMATICS (acm G.2), Requirements/Specifications (acm D.2.1), Coding Tools and Techniques (acm D.2.3), Programming Environments (acm D.2.6), Distribution, Maintenance, and Enhancement (acm D.2.7), Miscellaneous (acm D.2.m), Language Classifications (acm D.3.2), Document Preparation (acm I.7.2)|
|Software (theme 1)|
|Software Engineering [SEN]|
|Organisation||Software Analysis and Transformation|
van den Brand, M.G.J, & de Jonge, M. (1999). Pretty-printing within the ASF+SDF meta-environment : a generic approach. Software Engineering [SEN]. CWI.