• DocumentCode
    3022088
  • Title

    Incremental Construction of Greibach Normal Form

  • Author

    Bals, Markus ; Jansen, C. ; Noll, Theresa

  • Author_Institution
    Software Modeling & Verification Group, RWTH Aachen Univ., Aachen, Germany
  • fYear
    2013
  • fDate
    1-3 July 2013
  • Firstpage
    165
  • Lastpage
    168
  • Abstract
    This paper presents an incremental version of the well-known algorithm for constructing the Greibach normal form (GNF) of a context-free string grammar. It supports the extension of the grammar by additional rules without the need of reperforming the GNF construction from scratch. Thus it offers an efficiency advantage over the classical GNF algorithm in use cases where grammars are extended at a later stage. It ensures that nonterminals and production rules once generated during GNF construction are not removed due to recomputation of GNF, thus preserving the structure of derivations. We present a commandline tool implementing both the classical and the incremental GNF algorithm and compare both by means of two case studies.
  • Keywords
    context-free grammars; context-free languages; GNF; Greibach normal form; context-free string grammar; derivation structure; grammar extension; incremental construction; nonterminals; production rules; Algorithm design and analysis; Data structures; Educational institutions; Grammar; Labeling; Production; Runtime;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Theoretical Aspects of Software Engineering (TASE), 2013 International Symposium on
  • Conference_Location
    Birmingham
  • Type

    conf

  • DOI
    10.1109/TASE.2013.42
  • Filename
    6597894