Advanced

Program Visualization using Reference Attributed Grammars

Magnusson, Eva LU and Hedin, Görel LU (2000) In Nordic Journal of Computing 7. p.67-86
Abstract
This paper describes how attribute grammars can be used to integrate

program visualization in language-based environments and how program visualizations can be specified and generated from grammars. It is discussed how a general solution for a simple grammar can be reused in grammars for other specific languages. As an example we show how diagram generation for a very simple state transition language can be integrated in a more complex specific state transition language. We use an extended form of attribute grammars, RAGs, which permits attributes to be references to nodes in the syntax tree. An external graph drawing

tool is used to visualize the diagrams. The solution is modularized to support reuse for different... (More)
This paper describes how attribute grammars can be used to integrate

program visualization in language-based environments and how program visualizations can be specified and generated from grammars. It is discussed how a general solution for a simple grammar can be reused in grammars for other specific languages. As an example we show how diagram generation for a very simple state transition language can be integrated in a more complex specific state transition language. We use an extended form of attribute grammars, RAGs, which permits attributes to be references to nodes in the syntax tree. An external graph drawing

tool is used to visualize the diagrams. The solution is modularized to support reuse for different languages and exchange of the external drawing tool for different types

of visualization. (Less)
Please use this url to cite or link to this publication:
author
organization
publishing date
type
Contribution to journal
publication status
published
subject
keywords
reference attributes, program visualization, Attribute grammars
in
Nordic Journal of Computing
volume
7
pages
67 - 86
publisher
Publishing Association Nordic Journal of Computing
ISSN
1236-6064
language
English
LU publication?
yes
id
6bb10cb6-40a9-42e6-8dee-758451655a9a (old id 634054)
date added to LUP
2007-12-18 09:46:10
date last changed
2016-06-29 16:14:22
@article{6bb10cb6-40a9-42e6-8dee-758451655a9a,
  abstract     = {This paper describes how attribute grammars can be used to integrate<br/><br>
program visualization in language-based environments and how program visualizations can be specified and generated from grammars. It is discussed how a general solution for a simple grammar can be reused in grammars for other specific languages. As an example we show how diagram generation for a very simple state transition language can be integrated in a more complex specific state transition language. We use an extended form of attribute grammars, RAGs, which permits attributes to be references to nodes in the syntax tree. An external graph drawing<br/><br>
tool is used to visualize the diagrams. The solution is modularized to support reuse for different languages and exchange of the external drawing tool for different types<br/><br>
of visualization.},
  author       = {Magnusson, Eva and Hedin, Görel},
  issn         = {1236-6064},
  keyword      = {reference attributes,program visualization,Attribute grammars},
  language     = {eng},
  pages        = {67--86},
  publisher    = {Publishing Association Nordic Journal of Computing},
  series       = {Nordic Journal of Computing},
  title        = {Program Visualization using Reference Attributed Grammars},
  volume       = {7},
  year         = {2000},
}