Abstract
When implementing textual languages, formal grammars are commonly used to facilitate understanding languages and creating parsers. In the implementation of a diagrammatic visual programming language (VPL), this rarely happens, though graph grammars with their well-established theoretical background may be used as a natural and powerful syntax-definition formalism. Yet all graph grammar parsing algorithms presented up to now are either unable to recognize interesting visual languages or tend to be hopelessly inefficient (with exponential time complexity) when applied to graphs with a large number of nodes and edges. This paper presents a context-sensitive graph grammar called reserved graph grammar, which can explicitly, efficiently and completely describe the syntax of a wide range of diagrams using labeled graphs. Moreover, its parsing algorithm is of polynomial time complexity in most cases.
| Original language | English |
|---|---|
| Pages (from-to) | 284-291 |
| Number of pages | 8 |
| Journal | IEEE Symposium on Visual Languages, Proceedings |
| Publication status | Published - 1997 |
| Externally published | Yes |
| Event | Proceedings of the 1997 IEEE Symposium on Visual Languages, VL97 - Isle of Capri, Italy Duration: 23 Sept 1997 → 26 Sept 1997 |