Sciweavers

IWPC
2002
IEEE

Building Program Understanding Tools Using Visitor Combinators

13 years 9 months ago
Building Program Understanding Tools Using Visitor Combinators
Program understanding tools manipulate program represensuch as abstract syntax trees, control-flow graphs, or data-flow graphs. This paper deals with the use of visitor combinators to conduct such manipulations. Visitor combinators are an extension of the well-known visitor design pattern. They are small, reusable classes that carry out specific visiting steps. They can be composed in different constellations to build more complex visitors. We evaluate the expressiveness, reusability, ease of development, and applicability of visitor combinators to the construction of program understanding tools. To that end, we conduct a case study in the use of visitor combinators for control-flow analysis and visualization as used in a commercial Cobol program understanding tool. 1998 ACM Computing Classification System: D.2.9, D.2.2, D.2.5, D.2.7 Keywords and Phrases: Program analysis, program comprehension, visitor design pattern, software visualization.
Arie van Deursen, Joost Visser
Added 15 Jul 2010
Updated 15 Jul 2010
Type Conference
Year 2002
Where IWPC
Authors Arie van Deursen, Joost Visser
Comments (0)