A language independent framework for context-sensitive formatting

M.G.J. Brand, van den, A.T. Kooiker, J.J. Vinju, N.P. Veerman

    Onderzoeksoutput: Hoofdstuk in Boek/Rapport/CongresprocedureConferentiebijdrageAcademicpeer review

    7 Citaten (Scopus)

    Samenvatting

    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. 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? 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.
    Originele taal-2Engels
    TitelProceedings 10th European Conference on Software Maintenance and Reengineering (CSMR 2006, Bari, Italy, March 22-24, 2006)
    Plaats van productieLos Alamitos
    UitgeverijIEEE Computer Society
    Pagina's103-112
    ISBN van geprinte versie0-7695-2536-9
    DOI's
    StatusGepubliceerd - 2006

    Vingerafdruk

    Duik in de onderzoeksthema's van 'A language independent framework for context-sensitive formatting'. Samen vormen ze een unieke vingerafdruk.

    Citeer dit