<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Context-free grammar - Page 1 - Wikipedia">
<p>
<a accesskey="3" href="page.php?w=context-free_grammar&amp;p=2">3.Next</a>
</p>
<p>In <a href="page.php?w=formal_language">formal language</a> theory, a <b>context-free grammar</b> (<b>CFG</b>) is a <a href="page.php?w=formal_grammar">formal grammar</a> whose <a href="page.php?w=Production_%28computer_science%29">production rules</a> can be applied to a <a href="page.php?w=Terminal_and_nonterminal_symbols">nonterminal symbol</a> regardless of its context.In particular, in a context-free grammar, each production rule is of the form<br/>
: with  a single nonterminal symbol, and  a string of terminals and/or nonterminals ( can</p><p>
<a accesskey="3" href="page.php?w=context-free_grammar&amp;p=2">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
