FACTOID # 66: Australians have a huge 380,000 sq m of land per person - and yet 91% live in urban areas.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Greibach normal form

In computer science, to say that a context-free grammar is in Greibach normal form (GNF) means that all production rules are of the form: Computer science, or computing science, is the study of the theoretical foundations of information and computation and their implementation and application in computer systems. ... In linguistics and computer science, a context-free grammar (CFG) is a formal grammar in which every production rule is of the form V → w where V is a nonterminal symbol and w is a string consisting of terminals and/or non-terminals. ...

or

where A is a nonterminal symbol, α is a terminal symbol, X is a (possibly empty) sequence of nonterminal symbols not including the start symbol, S is the start symbol, and ε is the null string. A nonterminal symbol is that symbol which has the capability of being further defined in terms of terminals and/or non-terminals. ... A terminal symbol, in BNF jargon, is a symbol that represents a constant value. ...


Observe that the grammar must be without left recursions.


Every context-free grammar can be transformed into an equivalent grammar in Greibach normal form. (Some definitions do not consider the second form of rule to be permitted, in which case a context-free grammar that can generate the null string cannot be so transformed.) This can be used to prove that every context-free language can be accepted by a non-deterministic pushdown automaton. The introduction to this article provides insufficient context for those unfamiliar with the subject matter. ... In automata theory, a pushdown automaton (PDA) is a finite automaton that can make use of a stack containing data. ...


Given a grammar in GNF and a derivable string in the grammar with length n, any top-down parser will halt at depth n. This article or section does not cite its references or sources. ...


Greibach normal form is named after Sheila Greibach. Sheila Greibach (1939-) is a researcher in formal languages, automata, compiler theory in particular; and computer science in general. ...


See also

The Backus-Naur form (BNF) (also known as Backus normal form) is a metasyntax used to express context-free grammars: that is, a formal way to describe formal languages. ... In computer science, a formal grammar is in Chomsky normal form iff all production rules are of the form: A → BC or A → α or S → ε where A, B and C are nonterminal symbols, α is a terminal symbol (a symbol that represents a constant value), S is the start symbol, and... A formal grammar is in Kuroda normal form iff all production rules are of the form: AB → CD or A → BC or A → B or A → α where A, B, C and D are nonterminal symbols and α is a terminal symbol. ...

References

  • John E. Hopcroft and Jeffrey D. Ullman, Introduction to Automata Theory, Languages and Computation, Addison-Wesley Publishing, Reading Massachusetts, 1979. ISBN 0-201-029880-X. (See chapter 4.)

  Results from FactBites:
 
Sheila Greibach - Wikipedia, the free encyclopedia (1010 words)
Sheila Greibach (1939-) is a researcher in formal languages, automata, compiler theory in particular; and computer science in general.
Besides establishing the normal form (Greibach normal form) for context-free grammars now named after her, in 1965, she also investigated properties of W-grammars, pushdown automata, and decidability problems.
The family of quasi-realtime languages forms an abstract family of languages closed under intersection, linear erasing, and reversal.
NationMaster - Encyclopedia: Chomsky hierarchy (1928 words)
A context-sensitive grammar is a formal grammar G = (N, Σ, P, S) such that all rules in P are of the form αAβ → αγβ with A in N (i.
In linguistics and computer science, a context-free grammar (CFG) is a formal grammar in which every production rule is of the form V → w where V is a non-terminal symbol and w is a string consisting of terminals and/or non-terminals.
A linear bounded automaton (plural linear bounded automata, abbreviated LBA) is a restricted form of a Turing machine.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.