The Chomsky hierarchy, as originally defined by Noam Chomsky, comprises four types of languages and their associated grammars and machines.
| Language | Grammar | Production Type | Machine | Example | |
|---|---|---|---|---|---|
| Regular language | Regular grammar
|
V or V |
V or V |
Deterministic or nondeterministic finite-state acceptor | a* |
| Context-free language | Context-free grammar | V |
Nondeterministic pushdown automaton | a |
|
| Context-sensitive language | Context-sensitive grammar | x x, y |
Linear-bounded automaton | a |
|
| Recursively enumerable language | Unrestricted grammar | (V |
Turing machine | Any computable function | |
These languages form a strict hierarchy; that is, regular languages
context-free languages
context-sensitive languages
recursively enumerable languages.
Copyright © 1996 by David Matuszek
Last modified Apr 10, 1996