Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science, a grammar is linear if it is context-free and all of its
productions' right hand sides have at most one nonterminal. A linear
language is a language generated by some linear grammar. If L is a
linear language and M is a regular language, then the intersection is
again a linear language; in other words, the linear languages are closed
under intersection with regular sets. Furthermore, the linear languages
are closed under homomorphism and inverse homomorphism. These three
closure properties show that the linear languages form a full trio. Full
trios in general are language families that enjoy a couple of other
desirable mathematical properties.