Semantic manipulation of program source:

Abstract: "Tool-assisted, semantically-based manipulation of program source benefits from a program representation that facilitates semantic queries, such as the Program Dependence Graph (PDG). However, if the manipulation requires, for instance, scoping information, or the result is to be sour...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Griswold, William G. (VerfasserIn), Notkin, David (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Seattle, Wash. 1991
Schriftenreihe:University of Washington <Seattle, Wash.> / Department of Computer Science: Technical report 91,8,3
Schlagworte:
Zusammenfassung:Abstract: "Tool-assisted, semantically-based manipulation of program source benefits from a program representation that facilitates semantic queries, such as the Program Dependence Graph (PDG). However, if the manipulation requires, for instance, scoping information, or the result is to be source readable by humans, then information from other representations such as the Abstract Syntax Tree (AST) are also needed, requiring simultaneous, coordinated manipulation of multiple representations. This paper describes a model for meaning-preserving program transformation that aids correct and efficient manipulation of multiple program representations. The model is based on relating not only the data of the representations, but also the transformations on them
An equation describes a global source transformation as a composition of local transformations related through relationships naturally represented in the PDG, and a set of PDG substitution rules is used to map the result to a meaning-preserving PDG transformation. The result, when successful, is that the source transformation's implementation is shown to preserve meaning. Additionally, the resulting PDG transformation can be applied efficiently to the PDG to keep it up-to-date with the source, allowing interactive use of the tool. The model has been successfully used to implement a prototype program restructuring tool for use in software maintenance.
Beschreibung:12 S.

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand!