Are meant to overcome the limits of regexp
Are composed by:
A language can be defined by rules that after multiple applications allow to generates all and only the phrases in the language
Language $$L={uu^R|u\in {a,b}^}={\varepsilon,aa,bb,abba,baab,...,abbbba,...}$$ Grammar rules $\text{frase}\rightarrow \varepsilon$ - The empty string is a valid phrase $\text{frase}\rightarrow a\;\text{frase}\;a$ - A phrase encloses in a, a it's a phrase $\text{frase}\rightarrow b\;\text{frase}\;b$ - A phrase encloses in b, b it's a phrase <!----> Derivation chain $$\text{frase}\Rightarrow a\;\text{frase}\;a$$ Lista, frase are non-terminal symbols
The metalanguage of regular expressions syntax $1.\;espr \rightarrow\emptyset$
Is a generalization of regexp
###Reduction of the grammars