language-icon Old Web
English
Sign In

Regular grammar

In theoretical computer science and formal language theory, a regular grammar is a formal grammar that is right-regular or left-regular. Every regular grammar describes a regular language. In theoretical computer science and formal language theory, a regular grammar is a formal grammar that is right-regular or left-regular. Every regular grammar describes a regular language. A right regular grammar (also called right linear grammar) is a formal grammar (N, Σ, P, S) such that all the production rules in P are of one of the following forms: In a left regular grammar (also called left linear grammar), all rules obey the forms A regular grammar is a left or right regular grammar.

[ "Emergent grammar", "Smallest grammar problem", "Star height", "Lexical grammar", "Generalized star height problem", "ID/LP grammar" ]
Parent Topic
Child Topic
    No Parent Topic