DocumentCode
3363763
Title
Towards automatical migration of transformation rules after grammar extension
Author
Lohmann, Wolfgang ; Riedewald, Gunter
Author_Institution
Dept. of Comput. Sci., Rostock Univ., Germany
fYear
2003
fDate
26-28 March 2003
Firstpage
30
Lastpage
39
Abstract
The paper addresses two problems in software maintenance. Firstly, some maintenance tasks require modifications of the grammar. A change in a grammar can make abstract syntax and transformation rules outdated, which then themselves become subject to a maintenance process. Secondly, it is essential that after a repair programs look as much as possible as they looked before. Especially comments and principle readability by humans are indispensable for further maintenance. We argue that necessary changes of both abstract syntax and transformation rules due to grammar extension can be made automatically. Thus, most of the original rules can be reused. The approach can be used to define and use simplified views on complex patterns to be analysed with transformation rules. To give an example we apply the described technique to rule-based program transformations extended with partial layout preservation. The migration relation is given. The programmer uses common rewriting techniques for program transformation without taking care of layout, which then is automatically included.
Keywords
grammars; program compilers; software maintenance; software tools; abstract syntax rules; grammar extension; partial layout preservation; rewriting techniques; rule-based program transformations; software maintenance; transformation rule migration; transformation rules; Computer science; Data structures; Humans; Pattern analysis; Programming profession; Software maintenance;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Reengineering, 2003. Proceedings. Seventh European Conference on
ISSN
1534-5351
Print_ISBN
0-7695-1902-4
Type
conf
DOI
10.1109/CSMR.2003.1192408
Filename
1192408
Link To Document