DocumentCode
2943876
Title
An interpreter for diagrammatic languages based on SR grammars
Author
Ferrucci, F. ; Napolitano, F. ; Tortora, Giuseppe ; Tucci, M. ; Vitiello, G.
Author_Institution
Dipt. di Inf. ed Applicazioni, Salerno Univ., Italy
fYear
1997
fDate
23-26 Sep 1997
Firstpage
292
Lastpage
299
Abstract
The authors describe a general-purpose tool for the specification and interpretation of visual languages based on the formalism of SR grammars. The major components of the system are a structure analyzer and an interpretation module. The structure analyzer consists of a general diagrammatic editor and a lexical analyzer. The main task of the lexical analyzer is then the identification of the relationships among the visual tokens composing the diagram. The resulting SR sentence is passed over to the interpretation module. The interpretation system consists of a syntactic and a semantic analyzer which make use of a user-supplied SR grammar and an attribute SR grammar, respectively. The syntactic analysis of the SR sentence is accomplished by means of a polynomial time parsing algorithm that outputs a tree structure, called SR-tree, describing the generation of both the s-items and the r-items composing the sentence. Given the SR-tree of the visual sentence, its meaning is achieved by performing a semantic analysis process, according to the attribute SR grammar. As for string grammars, an attribute SR grammar is obtained by associating semantic rules with the productions of the underlying SR grammar
Keywords
computational linguistics; grammars; program interpreters; tree data structures; visual languages; SR grammars; SR-tree; attribute SR grammar; diagram; diagrammatic languages; general diagrammatic editor; general-purpose tool; interpretation module; interpreter; lexical analyzer; polynomial time parsing algorithm; semantic analyzer; semantic rules; specification; string grammars; structure analyzer; syntactic analyzer; visual languages; visual tokens; Algorithm design and analysis; Petri nets; Polynomials; Production; Strontium; Tree data structures;
fLanguage
English
Publisher
ieee
Conference_Titel
Visual Languages, 1997. Proceedings. 1997 IEEE Symposium on
Conference_Location
Isle of Capri
ISSN
1049-2615
Print_ISBN
0-8186-8144-6
Type
conf
DOI
10.1109/VL.1997.626597
Filename
626597
Link To Document