Regular languages
The regular (type-3) languages — the smallest class of the Chomsky hierarchy.
- Grammars. Regular grammars, whose rules all share one fixed shape: right-regular
(
RG) rulesA → a B,A → a,A → ε, or the mirror left-regular (LG) rulesA → B a,A → a,A → ε— at most one nonterminal, always at the same end. - Automata. Finite automata — deterministic (
DFA) or nondeterministic (equivalent in power).