On the use of Graph Grammars for defining the Syntax of Graphical Languages

In order to implement graphical editors which allow both for structured and free editing, a parsing algorithm is needed which can analyze a diagram according to a graphical syntax, and derive the structure depicted. We propose to split this analysis in two phases. The rst phase reads the picture objects as they were drawn, determines the spatial relations between them, and stores the whole in a graph. The second phase of the analysis searches this graph for patterns which form constructs of the language under consideration, and generates an abstract syntax graph of the depicted structure. We investigate whether graph grammars are a suitable formalism to deene both graphs and to specify the translations between the two. The description of the translation would deene the graphical syntax of L; graph rewriting according to this description would implement the corresponding graphical parser which performs the second phase of the analysis.

[1]  Eric J. Golin,et al.  The specification of visual language syntax , 1990, J. Vis. Lang. Comput..

[2]  Kim Marriott,et al.  A declarative specification and semantics for visual languages , 1991, J. Vis. Lang. Comput..

[3]  Kim Marriott,et al.  Declarative specification of visual languages , 1990, Proceedings of the 1990 IEEE Workshop on Visual Languages.

[4]  Herbert Göttler,et al.  Graph Grammars, a new Paradigm for Implementing Visual Languages , 1989, ESEC.

[5]  G. Engels,et al.  CADDY: a highly integrated environment to support conceptual database design , 1992, [1992] Proceedings of the Fifth International Workshop on Computer-Aided Software Engineering.

[6]  Louis Weitzman,et al.  Visual grammars and incremental parsing for interface languages , 1990, Proceedings of the 1990 IEEE Workshop on Visual Languages.

[7]  Louis Weitzman,et al.  Unification-based grammars and tabular parsing for graphical languages , 1991, J. Vis. Lang. Comput..

[8]  Eric J. Golin,et al.  A compiler generator for visual languages , 1993, Proceedings 1993 IEEE Symposium on Visual Languages.

[9]  Ramez Elmasri,et al.  Fundamentals of Database Systems , 1989 .

[10]  James C. Browne,et al.  A high level language for specifying graph based languages and their programming environments , 1993, Proceedings of 1993 15th International Conference on Software Engineering.

[11]  Eric J. Golin,et al.  Parsing visual languages with picture layout grammars , 1991, J. Vis. Lang. Comput..

[12]  Andy Schürr PROGRESS: A VHL-Language Based on Graph Grammars , 1990, Graph-Grammars and Their Application to Computer Science.

[13]  會澤 邦夫 5th International Workshop on Graph Grammars and their Apprication to Computer Science参加報告 , 1995 .

[14]  Eric J. Golin A method for the specification and parsing of visual languages , 1991 .