Advanced

Program Visualization using Reference Attributed Grammars

Magnusson, Eva LU and Hedin, Görel LU (2000) NWPER 2000 - Nordic Workshop on Programming Environment Research In Proceedings of NWPER'2000 - The Ninth Nordic Workshop on Programming and Software Development Environment Research p.76-96
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 languages and... (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
Chapter in Book/Report/Conference proceeding
publication status
published
subject
keywords
reference attributes, attribute grammars, Program visualization
in
Proceedings of NWPER'2000 - The Ninth Nordic Workshop on Programming and Software Development Environment Research
pages
20 pages
publisher
Department of Informatics, University of Os
conference name
NWPER 2000 - Nordic Workshop on Programming Environment Research
ISSN
0806-3036
ISBN
82-7368-231-5
language
English
LU publication?
yes
id
862caf7e-fbcf-4016-9b47-916eaaeca6f3 (old id 634075)
date added to LUP
2007-12-18 09:45:15
date last changed
2016-06-29 16:14:22
@inproceedings{862caf7e-fbcf-4016-9b47-916eaaeca6f3,
  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 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.},
  author       = {Magnusson, Eva and Hedin, Görel},
  booktitle    = {Proceedings of NWPER'2000 - The Ninth Nordic Workshop on Programming and Software Development Environment Research},
  isbn         = {82-7368-231-5},
  issn         = {0806-3036},
  keyword      = {reference attributes,attribute grammars,Program visualization},
  language     = {eng},
  pages        = {76--96},
  publisher    = {Department of Informatics, University of Os},
  title        = {Program Visualization using Reference Attributed Grammars},
  year         = {2000},
}