Linear languages
The linear languages — strictly between the regular and the context-free languages
({aⁿbⁿ} is the prototypical linear, non-regular example).
- Grammars. Linear grammars (
grammar_linear): every rule has the formA → u B vorA → w, whereA,Bare nonterminals andu,v,ware terminal strings — at most one nonterminal on the right, in any position.