• DocumentCode
    316285
  • Title

    Reserved graph grammar: a specification tool for diagrammatic VPLs

  • Author

    Zhang, Da-Qian ; Zhang, Kang

  • Author_Institution
    Dept. of Comput., Macquarie Univ., North Ryde, NSW, Australia
  • fYear
    1997
  • fDate
    23-26 Sep 1997
  • Firstpage
    284
  • Lastpage
    291
  • 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. The 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
  • Keywords
    computational complexity; context-sensitive grammars; formal specification; graph grammars; visual languages; visual programming; context sensitive graph grammar; diagrammatic VPLs; diagrammatic visual programming language; exponential time complexity; formal grammars; graph grammar parsing algorithms; labeled graphs; parsers; parsing algorithm; polynomial time complexity; reserved graph grammar; specification tool; syntax; syntax definition formalism; textual languages; Constraint theory; Joining processes; Mars; Polynomials; Production;
  • 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.626596
  • Filename
    626596