Title :
Linking Syntactic and Semantic Models of Java Source Code within a Program Transformation System
Author :
Winter, Victor L. ; Guerrero, Jonathan ; James, Alexander ; Reinke, Carl
Author_Institution :
Dept. of Comput. Sci., Univ. of Nebraska at Omaha, Omaha, NE, USA
Abstract :
Static analysis and software manipulation tools are frequently rule-based and draw on a variety of software models in order to achieve their goals. Program transformation languages provide traversal and matching capabilities that are aligned with the core functionality of rule-based systems. Therefore, transformation systems should be considered as candidates for implementing static analysis and manipulation tools. An issue associated with this approach is that transformation systems predominantly operate on syntactic models (abstract/concrete trees) of software. To effectively support in-depth analysis, it is beneficial to integrate the syntactic models used by transformation systems with one or more semantic models. This paper describes a system, called GPS-Traverse, that establishes a link between syntactic and semantic models of Java software. These models are central to a transformation-based Java source code analysis and manipulation system we are developing called Sextant. Within Sextant, GPS-traverse provides a coordinate system that is accessible during transformation. These coordinates enable the semantic model to be queried in a context-sensitive fashion during the course of transformation.
Keywords :
Java; knowledge based systems; program diagnostics; programming language semantics; software quality; software tools; GPS-traverse; Sextant; abstract trees; concrete trees; core functionality; matching capabilities; program transformation languages; program transformation system; rule-based systems; semantic model linking; software manipulation tools; software models; static analysis; syntactic model linking; transformation-based Java source code analysis system; transformation-based Java source code manipulation system; traversal capabilities; Context; Grammar; Java; Semantics; Software; Standards; Syntactics; GPS-Traverse; Java; Sextant; TL System; program transformation; source code analysis;
Conference_Titel :
High-Assurance Systems Engineering (HASE), 2012 IEEE 14th International Symposium on
Conference_Location :
Omaha, NE
Print_ISBN :
978-1-4673-4742-6
DOI :
10.1109/HASE.2012.8