Visualization/animation of programs based on abstract representations and formal mappings

Detalhes bibliográficos
Autor(a) principal: Pereira, Maria João
Data de Publicação: 2001
Outros Autores: Henriques, Pedro Rangel
Idioma: eng
Título da fonte: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Texto Completo: http://hdl.handle.net/10198/579
Resumo: In the context of Alma (a system for program visualization and algorithm animation), we use an internal representation-based on the concept of an attributed abstract syntax tree decorated with attribute values, a DAST-to associate (static) figures to grammar rules (productions) and to step over program dynamics executing state changes in order to perform its animation. We do not rely upon any source program annotations (visual/animation statements, or parameters), neither on any special visual data types. On account of such principle, the approach becomes source language independent. It means that we can apply the same visualizer and animator, that is the Alma's back-end, to different programming languages; all that we need is different front-ends to parse each program into the DAST we use. In this paper we discuss Alma design goals and architecture, and we present the two mappings that associate to productions figures and rewriting rules to systematically draw a visual representation (exhibiting data and control flow) of a given source program and to animate its execution.
id RCAP_6afd82718a766dc76d11d13616834cc0
oai_identifier_str oai:bibliotecadigital.ipb.pt:10198/579
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Visualization/animation of programs based on abstract representations and formal mappingsProgram visualizationAttributed abstract syntax treeIn the context of Alma (a system for program visualization and algorithm animation), we use an internal representation-based on the concept of an attributed abstract syntax tree decorated with attribute values, a DAST-to associate (static) figures to grammar rules (productions) and to step over program dynamics executing state changes in order to perform its animation. We do not rely upon any source program annotations (visual/animation statements, or parameters), neither on any special visual data types. On account of such principle, the approach becomes source language independent. It means that we can apply the same visualizer and animator, that is the Alma's back-end, to different programming languages; all that we need is different front-ends to parse each program into the DAST we use. In this paper we discuss Alma design goals and architecture, and we present the two mappings that associate to productions figures and rewriting rules to systematically draw a visual representation (exhibiting data and control flow) of a given source program and to animate its execution.FCTIEEEBiblioteca Digital do IPBPereira, Maria JoãoHenriques, Pedro Rangel2008-03-18T11:59:30Z20012001-01-01T00:00:00Zconference objectinfo:eu-repo/semantics/publishedVersionapplication/pdfhttp://hdl.handle.net/10198/579engPereira, Maria João; Henriques, Pedro (2001). Visualization/animation of programs based on abstract representations and formal mappings. In IEEE Symposium Human Centric Computing Languages and Environments. Stresa, Italy. p.373-38110.1109/HCC.2001.995294info:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2025-02-25T11:54:12Zoai:bibliotecadigital.ipb.pt:10198/579Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T11:15:01.988359Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Visualization/animation of programs based on abstract representations and formal mappings
title Visualization/animation of programs based on abstract representations and formal mappings
spellingShingle Visualization/animation of programs based on abstract representations and formal mappings
Pereira, Maria João
Program visualization
Attributed abstract syntax tree
title_short Visualization/animation of programs based on abstract representations and formal mappings
title_full Visualization/animation of programs based on abstract representations and formal mappings
title_fullStr Visualization/animation of programs based on abstract representations and formal mappings
title_full_unstemmed Visualization/animation of programs based on abstract representations and formal mappings
title_sort Visualization/animation of programs based on abstract representations and formal mappings
author Pereira, Maria João
author_facet Pereira, Maria João
Henriques, Pedro Rangel
author_role author
author2 Henriques, Pedro Rangel
author2_role author
dc.contributor.none.fl_str_mv Biblioteca Digital do IPB
dc.contributor.author.fl_str_mv Pereira, Maria João
Henriques, Pedro Rangel
dc.subject.por.fl_str_mv Program visualization
Attributed abstract syntax tree
topic Program visualization
Attributed abstract syntax tree
description In the context of Alma (a system for program visualization and algorithm animation), we use an internal representation-based on the concept of an attributed abstract syntax tree decorated with attribute values, a DAST-to associate (static) figures to grammar rules (productions) and to step over program dynamics executing state changes in order to perform its animation. We do not rely upon any source program annotations (visual/animation statements, or parameters), neither on any special visual data types. On account of such principle, the approach becomes source language independent. It means that we can apply the same visualizer and animator, that is the Alma's back-end, to different programming languages; all that we need is different front-ends to parse each program into the DAST we use. In this paper we discuss Alma design goals and architecture, and we present the two mappings that associate to productions figures and rewriting rules to systematically draw a visual representation (exhibiting data and control flow) of a given source program and to animate its execution.
publishDate 2001
dc.date.none.fl_str_mv 2001
2001-01-01T00:00:00Z
2008-03-18T11:59:30Z
dc.type.driver.fl_str_mv conference object
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/10198/579
url http://hdl.handle.net/10198/579
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv Pereira, Maria João; Henriques, Pedro (2001). Visualization/animation of programs based on abstract representations and formal mappings. In IEEE Symposium Human Centric Computing Languages and Environments. Stresa, Italy. p.373-381
10.1109/HCC.2001.995294
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv IEEE
publisher.none.fl_str_mv IEEE
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833591731843497984