The Chomsky hierarchy, as originally defined by Noam Chomsky, comprises four types of languages and their associated grammars and machines.
| Language | Grammar | Machine | Example |
|---|---|---|---|
| Regular language | Regular grammar
|
Deterministic or nondeterministic finite-state acceptor | a* |
| Context-free language | Context-free grammar | Nondeterministic pushdown automaton | a |
| Context-sensitive language | Context-sensitive grammar | Linear-bounded automaton | a |
| Recursively enumerable language | Unrestricted grammar | 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