IEEE 2001 Symposium on Human Centric Computing Languages and Environments (HCC'01) Visualization/Animation of Programs based on Abstract Representations and Formal Mappings Stresa, Italy September 05-September 07 ISBN: 0-7695-0474-4
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 (production) and to step over program dynamics executing state changes in order to perfrom 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.
Citation:
Maria Joao Varanda Pereira, Pedro Rangel Henriques, "Visualization/Animation of Programs based on Abstract Representations and Formal Mappings," hcc, pp.373, IEEE 2001 Symposium on Human Centric Computing Languages and Environments (HCC'01), 2001 Usage of this product signifies your acceptance of the Terms of Use. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||