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.
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.
Originalspråk | engelska |
---|---|
Titel på värdpublikation | Proceedings of NWPER'2000 - The Ninth Nordic Workshop on Programming and Software Development Environment Research |
Förlag | Department of Informatics, University of Os |
Sidor | 76-96 |
Antal sidor | 20 |
ISBN (tryckt) | 82-7368-231-5 |
Status | Published - 2000 |
Evenemang | NWPER 2000 - Nordic Workshop on Programming Environment Research - Lillehammer, Norge Varaktighet: 2000 maj 28 → 2005 maj 30 |
Publikationsserier
Namn | |
---|---|
ISSN (tryckt) | 0806-3036 |
Konferens
Konferens | NWPER 2000 - Nordic Workshop on Programming Environment Research |
---|---|
Land/Territorium | Norge |
Ort | Lillehammer |
Period | 2000/05/28 → 2005/05/30 |
Ämnesklassifikation (UKÄ)
- Datavetenskap (Datalogi)