Program Visualization using Reference Attributed Grammars

Eva Magnusson, Görel Hedin

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceedingpeer-review

1 Downloads (Pure)

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 exchange of the external drawing tool for different types of visualization.
Original languageEnglish
Title of host publicationProceedings of NWPER'2000 - The Ninth Nordic Workshop on Programming and Software Development Environment Research
PublisherDepartment of Informatics, University of Os
Pages76-96
Number of pages20
ISBN (Print)82-7368-231-5
Publication statusPublished - 2000
EventNWPER 2000 - Nordic Workshop on Programming Environment Research - Lillehammer, Norway
Duration: 2000 May 282005 May 30

Publication series

Name
ISSN (Print)0806-3036

Conference

ConferenceNWPER 2000 - Nordic Workshop on Programming Environment Research
Country/TerritoryNorway
CityLillehammer
Period2000/05/282005/05/30

Subject classification (UKÄ)

  • Computer Science

Free keywords

  • reference attributes
  • attribute grammars
  • Program visualization

Fingerprint

Dive into the research topics of 'Program Visualization using Reference Attributed Grammars'. Together they form a unique fingerprint.

Cite this