TransformGen: Automating the Maintenance of Structure-Oriented Environments

David Garlan, Charles W. Krueger, Barbara Staudt Lerner. TransformGen: Automating the Maintenance of Structure-Oriented Environments. ACM Transactions on Programming Languages and Systems, 16(3):727-774, 1994. [doi]

Abstract

A serious problem for programs that use persistent data is that information created and maintained by the program becomes invalid if the persistent types used in the program are modified in a new release. Unfortunately, there has been little systematic treatment of the problem; current approaches are manual, ad hoc, and time consuming both for programmers and users. In this article we present a new approach. Focusing on the special case of managing abstract syntax trees in structure-oriented environments, we show how automatic transformers can be generated in terms of an implementor’s changes to the grammar of these environments.