Content deleted Content added
grammar |
Kotabatubara (talk | contribs) m "Uppercase", "lowercase": no hyphen or space nowadays. |
||
Line 49:
Similarly, [[context-free language]]s are closed under string substitution.<ref>Hopcroft, Ullman (1979), Sect.6.2, Theorem 6.2, p.131</ref><ref group="note">Although every regular language is also context-free, the previous theorem is not implied by the current one, since the former yields a shaper result for regular languages.</ref>
A simple example is the conversion ''f''<sub>uc</sub>(.) to
{| class="wikitable"
Line 57:
! ''x'' !! ''f''<sub>uc</sub>(''x'') !!
|-
| ‹''a''› || { ‹''A''› } || map
|-
| ‹''A''› || { ‹''A''› } || map
|-
| ‹''ß''› || { ‹''SS''› } || no
|-
| ‹0› || { ε } || map digit to empty string
|