The Community for Technology Leaders
Conference on Software Maintenance and Reengineering (CSMR'06) (2006)
Bari, Italy
Mar. 22, 2006 to Mar. 24, 2006
ISSN: 1052-8725
ISBN: 0-7695-2536-9
pp: 103-112
M.G.J. Van den Brand , Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands
A.T. Kooiker , Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands
J.J. Vinju , Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands
N.P. Veerman , Vrije Universiteit Amsterdam, The Netherlands
ABSTRACT
<p>Automated formatting is an important technique for the software maintainer. It is either applied separately to improve the readability of source code, or as part of a source code transformation tool chain. In this paper we report on the application of generic tools for constructing formatters.</p> <p>In an industrial setting automated formatters need to be tailored to the requirements of the customer. The (legacy) programming language or dialect and the corporate formatting conventions are specific and non-negotiable. Can generic formatting tools deal with such unexpected requirements?</p> <p>Driven by an industrial case of nearly 80 thousand lines of Cobol code, several limitations in existing formatting technology have been addressed. We improved its flexibility by replacing a generative phase by a generic tool, and we added a little expressiveness to the formatting back end. Most importantly, we employed a multi-stage formatting framework that can cope with any kind of formatting convention using more computational power.</p>
INDEX TERMS
null
CITATION

A. Kooiker, N. Veerman, J. Vinju and M. Van den Brand, "A Language Independent Framework for Context-sensitive Formatting," Conference on Software Maintenance and Reengineering (CSMR'06)(CSMR), Bari, Italy, 2006, pp. 103-112.
doi:10.1109/CSMR.2006.4
98 ms
(Ver 3.3 (11022016))