The browser you are using is not supported by this website. All versions of Internet Explorer are no longer supported, either by us or Microsoft (read more here: https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Please use a modern browser to fully experience our website, such as the newest versions of Edge, Chrome, Firefox or Safari etc.

Program Visualization using Reference Attributed Grammars

Author

Summary, in English

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.

Publishing year

2000

Language

English

Pages

76-96

Publication/Series

Proceedings of NWPER'2000 - The Ninth Nordic Workshop on Programming and Software Development Environment Research

Document type

Conference paper

Publisher

Department of Informatics, University of Os

Topic

  • Computer Science

Keywords

  • reference attributes
  • attribute grammars
  • Program visualization

Conference name

NWPER 2000 - Nordic Workshop on Programming Environment Research

Conference date

2000-05-28 - 2005-05-30

Conference place

Lillehammer, Norway

Status

Published

Research group

  • LUCAS

ISBN/ISSN/Other

  • ISSN: 0806-3036
  • ISBN: 82-7368-231-5