Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Grammar, linear

From Encyclopedia of Mathematics - Reading time: 1 min


A context-free grammar (cf. Grammar, context-free) in which the right-hand side of each rule contains at most one occurrence of a non-terminal symbol. The class of languages generated by such grammars (linear languages) is a proper subclass of the class of context-free languages (e.g., the context-free language $ \{ {a ^ {n} b ^ {n} a ^ {m} b ^ {m} } : {n, m = 1, 2 ,\dots } \} $ is not linear). See also Grammar, regular.


How to Cite This Entry: Grammar, linear (Encyclopedia of Mathematics) | Licensed under CC BY-SA 3.0. Source: https://encyclopediaofmath.org/wiki/Grammar,_linear
10 views |
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF