Higher-order attribute grammars and editing environments
PLDI '90 Proceedings of the ACM SIGPLAN 1990 conference on Programming language design and implementation
Generation of the Hichart program diagrams
Journal of Information Processing
The Cornell program synthesizer: a syntax-directed programming environment
Communications of the ACM
Incremental evaluation for attribute grammars with application to syntax-directed editors
POPL '81 Proceedings of the 8th ACM SIGPLAN-SIGACT symposium on Principles of programming languages
Optimal-time incremental semantic analysis for syntax-directed editors
POPL '82 Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages
Graph Grammars, A New Paradigma for Implementing Visual Languages
RTA '89 Proceedings of the 3rd International Conference on Rewriting Techniques and Applications
GraphEd: An Interactive Tool For Developing Graph Grammars
Proceedings of the 4th International Workshop on Graph-Grammars and Their Application to Computer Science
Layout Graph Grammars: The Placement Approach
Proceedings of the 4th International Workshop on Graph-Grammars and Their Application to Computer Science
Programming with Very Large Graphs
Proceedings of the 4th International Workshop on Graph-Grammars and Their Application to Computer Science
CG: a Graph Drawing System Using Graph-Grammar Parsing
GD '94 Proceedings of the DIMACS International Workshop on Graph Drawing
Hi-index | 0.00 |
The hierarchical program diagram editor is a tool for visual program environments. In this paper, we propose a model of a syntax-directed diagram editor using an attribute graph grammar. We formalize and define editor commands by using productions of the attribute graph grammar which defines the hierarchical program diagram. This guarantees that any diagram that is grammatically correct can be generated and that there will be no syntax errors in the program generation and editing processes with the editor. We have implemented our editor based on the editor command definitions. The system introduced in this paper is the first practical program diagram editor supporting complete syntax-directed commands and efficient automatic layouts by using attribute graph grammars. The methods in this paper should be applicable to development environments for various tree-structured diagrams.