Enabling Graph Transformations on Program Code

In: Pre Proceedings of the 4th International Workshop on Graph Based Tools / da Lara, Juan; Varro, Daniel (Hrsg.)
Enschede, The Netherlands (2010), S. 29-40
Buchaufsatz / Kapitel / Fach: Informatik
Although the internal representation of program code in parsers and compilers is the abstract syntax tree and thus a graph, tools for handling program code as an explicit graph are rare. This contribution introduces a tool that generates abstract syntax graphs out of Java program code. Code can be read and stored as a graph, and code can be manipulated by the application of graph transformations. We show by examples how this can be used for low-level analysis and manipulation as well as for code interpretation at different levels of abstraction with formal models.

Dieser Eintrag ist freigegeben.