Biblioteca Digital do Instituto Politécnico de Bragança   Instituto Politécnico de Bragança

Biblioteca Digital do IPB >
Escola Superior de Tecnologia e Gestão >
Informática e Comunicações >
IC - Artigos em Revistas Não Indexados ao ISI/Scopus >

Please use this identifier to cite or link to this item: http://hdl.handle.net/10198/591

Título: Constructing program animations using a pattern-based approach
Autor: Cruz, Daniela
Henriques, Pedro
Pereira, Maria João
Palavras-chave: Program animation
Patter-based visualization
Issue Date: 2007
Editora: ComSIS Consortium
Citação: Cruz, 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-116
Resumo: 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. 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.
Arbitragem científica: yes
URI: http://hdl.handle.net/10198/591
ISSN: 1820-0214
Versão do Editor: http://www.comsis.fon.bg.ac.yu/ComSIS/Vol4No2/RegularPapers/pdf/06.pdf
Appears in Collections:IC - Artigos em Revistas Não Indexados ao ISI/Scopus

Files in This Item:

File Description SizeFormat
ComSIS.pdf379,85 kBAdobe PDFView/Open

Please give feedback about this item
Statistics
FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpace
Formato BibTex MendeleyEndnote Logotipo do DeGóis 

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

 


© Instituto Politécnico de Bragança - Biblioteca Digital - Feedback - Statistics
Promotores do RCAAP   Financiadores do RCAAP

Fundação para a Ciência e a Tecnologia Universidade do Minho   Governo Português Ministério da Educação e Ciência PO Sociedade do Conhecimento (POSC) Portal oficial da União Europeia