Generation of Software Renovation Factories from Compilers
نویسندگان
چکیده
When a compiler is designed carefully, it is possible to extract its grammar. We reengineer the extracted grammar to one that is geared towards reengineering. From this reengineering grammar we generate an architecture called a software renovation factory. This includes: generic analysis and transformation functionality and a native pattern language using the concrete syntax of the language for which the renovation is necessary. Moreover, we generate the grammar in HTML format so that reengineers can quickly understand the language. We applied our approach successfully to an exceptionally complex and large proprietary language. Our approach enables rapid development of software renovation factories. We believe that our approach can partly solve the lack of Year 2000 tool support for many languages.
منابع مشابه
Generation of Components for Software Renovation Factories from Context-Free Grammars
We present an approach for the generation of components for a software renovation factory. These components are generated from a contex-free grammar de nition that recognizes the code that has to be renovated. We generate analysis and transformation components that can be instantiated with a speci c transformation or analysis task. We apply our approach to COBOL and we discuss the construction ...
متن کاملConservative Extension in Positive/Negative Conditional Term Rewriting with Applications to Software Renovation Factories
We transpose a conservative extension theorem from structured operational semantics to conditional term rewriting. The result is useful for the development of software renovation factories, and for modular speci cation of abstract data types.
متن کاملConservative Extension in Positive /
We transpose a conservative extension theorem from structural operational semantics to conditional term rewriting. The result is useful for the development of software renovation factories, and for modular speciication of abstract data types.
متن کاملScaffolding for Software Renovation
We discuss an approach that explores the use of scaaolding of source code to facilitate its renovation. We show that scaaolding is a useful paradigm for software renovation. We designed syntax and semantics for scaaolding, that enables all relevant applications of scaaolding. The automatic generation of extensions to a normal grammar, so that the resulting extension grammar can parse code with ...
متن کاملTowards a User-Controlled Software Renovation Factory
Part of software maintenance consists in applying program transformations system-wide. In a number of recent papers, a factory approach has been advocated in which one program after another is fed to an assembly line that consists of a sequence of transformation tools. The general feeling seems to be that such factories have to be constructed and operated by specialists (the ‘vendors’). We thin...
متن کامل