The synthesizer generator: a system for constructing language-based editors
The synthesizer generator: a system for constructing language-based editors
Part objects and their location
TOOLS 7 Proceedings of the seventh international conference on Technology of object-oriented languages and systems
Subject-oriented programming: a critique of pure objects
OOPSLA '93 Proceedings of the eighth annual conference on Object-oriented programming systems, languages, and applications
Visual object-oriented programming
Interactive language development for embedded systems
Nordic Journal of Computing
On defining semantics by means of extended attribute grammars
Semantics-Directed Compiler Generation, Proceedings of a Workshop
An algebra for program fragments
SLIPE '85 Proceedings of the ACM SIGPLAN 85 symposium on Language issues in programming environments
Circular reference attributed grammars — their evaluation and applications
Science of Computer Programming
Hi-index | 0.00 |
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.