Interpretation of Visual Notations In the Recopla Editor Generator

Bernd E. Meyer, Hubert Zweckstetter · 1998

es, i.e. the vocabulary, that may be used by an editor instance is specified interactively on the meta-level by drawing prototype entities with a normal object-oriented graphics editor. The syntax, i.e. the permissible ways to arrange these graphical entities spatially and topologically in a valid diagram, is specified by conditional relational grammars, a multidimensional grammar formalism that inherits from both relational grammars and constraint multiset grammars (Marriott, Meyer, & Wittenburg 1998). The interpretation and translation of diagrams is specified in the same formalism by using attributed productions and/or by attaching actions to productions. The following production is an example taken from a simple grammar for state transition diagrams: Transition --? Arrow, Label ; % where exists(State1, State2), % such that startsat(State1, Arrow), endsat(State2, Arrow), closeto(Label, Arrow) ; % and set Transition.condition = Label.string, Transition.

Read the paper · More papers on PaperTik