Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Program Visualization using Reference Attributed Grammars

Magnusson, Eva LU and Hedin, Görel LU orcid (2000) NWPER 2000 - Nordic Workshop on Programming 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
and
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
keywords
reference attributes, attribute grammars, Program visualization
host publication
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
conference location
Lillehammer, Norway
conference dates
2000-05-28 - 2005-05-30
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
2016-04-01 15:32:51
date last changed
2021-05-06 16:54:38
@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}},
  keywords     = {{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}},
  url          = {{https://lup.lub.lu.se/search/files/4417085/634275.pdf}},
  year         = {{2000}},
}