Repository logo
 
No Thumbnail Available
Publication

Pattern-based program visualization

Use this identifier to reference this record.
Name:Description:Size:Format: 
WAPL07CAMERAREADY.pdf505.6 KBAdobe PDF Download

Advisor(s)

Abstract(s)

The aim of this paper is to discuss how our pattern-based strategy for the visualization of data and control flow can effectively be used to animate the program and exhibit its behavior. That result allows us to propose its use for Program Comprehension. The animator uses well known compiler techniques to inspect the source code in order to extract the necessary information to visualize it and understand program execution. We convert the source program into an internal decorated (or attributed) abstract syntax tree and then we visualize the structure by traversing it, and applying visualization rules at each node according to a pre-defined rule-base. No changes are made in the source code, and the execution is simulated. Several examples of visualization are shown to illustrate the approach and support our idea of applying it in the context of a Program Comprehension environment.

Description

Keywords

Program animation Patter-based visualization

Citation

Cruz, Daniela; Henriques, Pedro; Pereira, Maria João (2007). Pattern-based program visualization. In WAPL'07 - First Workshop on Advances in Programming Languages. Wisla.

Research Projects

Organizational Units

Journal Issue

Publisher

International Multiconference on Computer Science and Information Technology

CC License