<?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 2 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=context-free_grammar&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=context-free_grammar&amp;p=3">3.Next</a>
</p>
<p>be empty). Regardless of which symbols surround it, the single nonterminal  on the left hand side can always be replaced by  on the right hand side. This  distinguishes it from a <a href="page.php?w=context-sensitive_grammar">context-sensitive grammar</a>, which can have production rules in the form  with  a nonterminal symbol and , , and  strings of terminal and/or nonterminal symbols.</p>

<p>A formal grammar is essentially a set of production rules that describe all possible strings in a given formal language. Production rules are simple replacements.</p><p>
<a accesskey="1" href="page.php?w=context-free_grammar&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=context-free_grammar&amp;p=3">3.Next</a>
</p>

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

</card>
</wml>
