Abstract
Positional grammars naturally extend context-free grammars for string languages to grammars for visual languages by considering new relations in addition to string concatenation. Thanks to this analogy, most results from LR parsing can be extended to positional grammars while preserving its well known efficiency. The positional grammar model is the underlying formalism of the VLCC (Visual Language Compiler-Compiler) system for the automatic generation of visual programming environments. VLCC inherits and extends to the visual field, concepts and techniques of compiler generation tools like YACC. Due to their nature, the positional grammars are a very suitable formalism for processing languages integrating visual and textual constructs.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho, R. Sethi, and J.D. Ullman.Compilers Principles Techniques and Tools. Addison-Wesley, New York, 1985.
S.K. Chang. Dynamic visual languages. InProceedings of the 1996 IEEE Symposium on Visual Languagespages 308–315, Boulder, USA, 1996. IEEE Comp. Soc. Press.
S.S. Chok and K. Marriot. Automatic construction of user interfaces from constraint multiset grammars. InProceedings of the 1995 IEEE Symposium on Visual LanguagesDarmstadt, Germany, 1995. IEEE Comp. Soc. Press.
G. Costagliola and S.-K. Chang. Parsing linear pictorial languages by syntax-directed scanning.Languages of Design2(3):229–248, 1994.
G. Costagliola and S.K. Chang. Dr parsers: A generalization of lr parsers. InProceedings of the 1990 IEEE Workshop on Visual LanguagesSkokie, USA, 1990. IEEE Comp. Soc. Press.
G. Costagliola, A. De Lucia, and S. Orefice. Towards efficient parsing of diagrammatic languages. InProceedings of the 1994 International Workshop on Advanced Visual Interfacespages 162–171, Bari, Italy, 1994. ACM Press.
G. Costagliola, A. De Lucia, S. Orefice, and G. Tortora. Efficient parsing of data-flow graphs. InProceedings of 7th International Conference190 Gennaro Costagliola et al.on Software Engineering and Knowledge Engineeringpages 226–233, 1995.
G. Costagliola, A. De Lucia, S. Orefice, and G. Tortora. A framework of syntactic models for the implementation of visual languages. InProceedings of the 1997 IEEE Symposium on Visual Languagespages 58–65, Capri, Italy, 1997. IEEE Comp. Soc. Press.
G. Costagliola, G. Tortora, S. Orefice, and A. De Lucia. A parsing methodology for the implementation of visual systems.IEEE Transaction on Software Engineering toappear.
G. Costagliola, G. Tortora, S. Orefice, and A. De Lucia. Automatic generation of visual programming environments.IEEE Computer28(3):56–66, 1995.
C. Crimi, A. Guercio, G. Nota, G. Pacini, G. Tortora, and M. Tucci. Relation grammars and their application to multi-dimensional languages.Journal of Visual Languages and Computing2:333–346, 1991.
J. Feder. Plex languages.Information Science3:225–241, 1971.
F. Ferrucci, G. Pacini, G. Satta, G. Tortora M. Sessa, M. Tucci, and G. Vitiello. Symbol-relation grammars: A formalism for graphical languages.Information and Computation131:1–46, November 1996.
E.J. Golin. Parsing visual languages with picture layout grammars.Journal of Visual Languages and Computing2:1–23, 1991.
E.J. Golin and T. Magliery. A compiler generator for visual languages. InProceedings of the 1993 IEEE Workshop on Visual Languagespages 314–321, Bergen, Norway, 1993. IEEE Comp. Soc. Press.
A. Habel.Hyperedge Replacement: Grammars and Languages.PhD thesis, Computer Science Departments of the Technical University of Berlin and the University of Bremen, 1989.
R. Helm, K. Marriott, and M. Odersky. Building visual language parsers. In S.P. Robertson, G.M. Olson, and G.S. Olson, editorsHuman Factors in Computing Systems: CHI’91 Conference Proceedingspages 105–112, New York, 1991. Addison-Wesley.
S.C. Johnson. Yacc: Yet another compiler compiler. Technical report, Bell Laboratories, Murray Hills, NJ, 1974.
R. Lutz. Chart parsing of flowgraphs. InProceedings of 11th International Joint Conference on Artificial Intelligencepages 116–121, 1989.
K. Marriot. Constraint multiset grammars. InProceedings of the 1994 IEEE Symposium on Visual Languagespages 118–125, Saint Louis, USA, 1994. IEEE Comp. Soc. Press.
K. Marriott and B. Meyer. The CCMG visual language hierarchy. Inthis volume.
J. Rekers and A. Schurr. A graph grammar approach to graphical parsing. InProceedings of the 1995 IEEE Symposium on Visual Languagespages 195–202, Darmstadt, Germany, 1995. IEEE Comp. Soc. Press.
M. Tucci, G. Vitiello, and G. Costagliola. Parsing non-linear languages.IEEE Transactions on Software Engineering20(9):720–739, 1994.
K. Wittenburg. Earley-style parsing for relational grammars. InProceedings of the 1992 IEEE Workshop on Visual Languagespages 192–199, Seattle, USA, 1992. IEEE Comp. Soc. Press.
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1998 Springer Science+Business Media New York
About this chapter
Cite this chapter
Costagliola, G., De Lucia, A., Orefice, S., Tortora, G. (1998). Positional Grammars: A Formalism for LR-Like Parsing of Visual Languages. In: Marriott, K., Meyer, B. (eds) Visual Language Theory. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-1676-6_5
Download citation
DOI: https://doi.org/10.1007/978-1-4612-1676-6_5
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4612-7240-3
Online ISBN: 978-1-4612-1676-6
eBook Packages: Springer Book Archive