On Greibach normal form construction (Q5966461)

From MaRDI portal
scientific article; zbMATH DE number 3986656
Language Label Description Also known as
English
On Greibach normal form construction
scientific article; zbMATH DE number 3986656

    Statements

    On Greibach normal form construction (English)
    0 references
    1986
    0 references
    We present an algorithm which, given an arbitrary \(\epsilon\)-free and chain-free context-free grammar, produces an equivalent context-free grammar in Greibach normal form (GNF). This algorithm is a generalization of an algorithm recently presented by Ehrenfeucht and Rozenberg. Using this algorithm, the well-known GNF construction of Rosenkrantz can be obtained. Furthermore it is possible to rewrite a given context-free grammar by a GNF grammar which has at most twice as much nonterminals as the original grammar. This result is shown to be optimal (with respect to the number of nonterminals).
    0 references
    algorithm
    0 references
    context-free grammar
    0 references

    Identifiers