Title :
Grammar-based program transformation
Author_Institution :
Dynamics Res. Corp., Andover, MA, USA
Abstract :
A grammar-based technique is introduced for making sweeping changes, involving substantial restructuring, to large-scale software programs. Pervasive structural changes are often required to make changes in data structures, computational forms, or programming style during software maintenance. The concept of a grammar-based editor is introduced. It is a well-defined system that applies the descriptive power of context-free grammars to the software editing problem. Grammars allow generalization away from the specific details of any one program fragment, introducing the possibility for maintainers to browse and edit related program fragments simultaneously and create transformations reusable on other modules or programs. Examples of grammar-based editing of Ada programs are provided
Keywords :
Ada; context-free grammars; data structures; software reusability; software tools; text editing; Ada; context-free grammars; data structures; grammar-based editor; program fragments; program transformation; software editing; software maintenance; software reusability; software tools; Costs; Data structures; Feeds; Packaging; Pervasive computing; Programming profession; Software maintenance;
Conference_Titel :
Software Maintenance, 1988., Proceedings of the Conference on
Conference_Location :
Scottsdale, AZ
Print_ISBN :
0-8186-0879-X
DOI :
10.1109/ICSM.1988.10150