Title :
Hierarchical program diagram editor based on attribute graph grammar
Author :
Adachi, Yoshihiro ; Tsuchida, Kensei ; Anzai, Koushi ; Yaku, Takeo
Author_Institution :
Dept. of Inf. & Comput. Sci., Toyo Univ., Saitama, Japan
Abstract :
The hierarchical program diagram editor is a tool for visual program environments. 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 is the first practical program diagram editor supporting complete syntax-directed commands and efficient automatic layouts by using attribute graph grammars. The methods should be applicable to development environments for various tree-structured diagrams
Keywords :
attribute grammars; diagrams; graph grammars; programming environments; software tools; text editing; visual programming; attribute graph grammar; complete syntax-directed commands; development environments; editor command definitions; editor commands; efficient automatic layouts; hierarchical program diagram editor; program editing; program generation; syntax-directed diagram editor; tree-structured diagrams; visual program environment tool; Educational institutions; Educational programs; Environmental economics; Error correction; Power generation economics; Production; Programming profession; Synthesizers; Tree graphs;
Conference_Titel :
Computer Software and Applications Conference, 1996. COMPSAC '96., Proceedings of 20th International
Conference_Location :
Seoul
Print_ISBN :
0-8186-7579-9
DOI :
10.1109/CMPSAC.1996.544164