Repository logo
 
Publication

Constructing program animations using a pattern-based approach

dc.contributor.authorCruz, Daniela
dc.contributor.authorHenriques, Pedro Rangel
dc.contributor.authorPereira, Maria João
dc.date.accessioned2008-04-03T13:51:23Z
dc.date.available2008-04-03T13:51:23Z
dc.date.issued2007
dc.description.abstractThe 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. In order to calculate the next step in the program execution, a set of rewriting rules are applied to the tree. The visualization of this new tree is shown and the program animation is constructed using an iterative process. No changes are made in the source code, and the execution is simulated step by step. 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.en
dc.description.sponsorshipFCTen
dc.identifier.citationCruz, Daniela; Henriques, Pedro; Pereira, Maria João (2007). Constructing program animations using a pattern-based approach. Computer Science and Information Systems. ISSN 1820-0214. 4:2 p.99-116en
dc.identifier.issn1820-0214en
dc.identifier.slugComputer Science and Information Systemsen
dc.identifier.urihttp://hdl.handle.net/10198/591
dc.language.isoengen
dc.language.rfc3066engen
dc.number2en
dc.pagination99-116en
dc.peerreviewedyesen
dc.publisherComSIS Consortiumen
dc.relation.publisherversionhttp://www.comsis.fon.bg.ac.yu/ComSIS/Vol4No2/RegularPapers/pdf/06.pdfen
dc.subjectProgram animationen
dc.subjectPatter-based visualizationen
dc.titleConstructing program animations using a pattern-based approachen
dc.typejournal article
dc.volume4en
dspace.entity.typePublication
person.familyNameVaranda Pereira
person.givenNameMaria João
person.identifier.ciencia-idC912-4A49-A3B3
person.identifier.orcid0000-0001-6323-0071
person.identifier.ridG-5999-2011
person.identifier.scopus-author-id13907870300
rcaap.rightsopenAccessen
rcaap.typearticle
relation.isAuthorOfPublicationa20ccfa6-4e84-4c25-ab0d-8d6ba196ffc2
relation.isAuthorOfPublication.latestForDiscoverya20ccfa6-4e84-4c25-ab0d-8d6ba196ffc2

Files

Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
ComSIS.pdf
Size:
379.85 KB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.83 KB
Format:
Item-specific license agreed upon to submission
Description: