Du är här

Program Visualization using Reference Attributed Grammars

Publiceringsår: 2000
Språk: Engelska
Sidor: 67-86
Publikation/Tidskrift/Serie: Nordic Journal of Computing
Volym: 7
Dokumenttyp: Artikel
Förlag: Publishing Association Nordic Journal of Computing

Sammanfattning

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.

Disputation

Nyckelord

  • Technology and Engineering
  • reference attributes
  • program visualization
  • Attribute grammars

Övrigt

Published
Yes
  • LUCAS
  • ISSN: 1236-6064

Box 117, 221 00 LUND
Telefon 046-222 00 00 (växel)
Telefax 046-222 47 20
lu [at] lu [dot] se

Fakturaadress: Box 188, 221 00 LUND
Organisationsnummer: 202100-3211
Om webbplatsen

LERU logo U21 logo