Four language classes, nested by expressive power.
| Type | Language Class | Production Form | Accepting Device |
|---|---|---|---|
| 3 | Regular | , | Finite automaton |
| 2 | Context-free | Pushdown automaton | |
| 1 | Context-sensitive | , , has non-terminal | Linear-bounded automaton |
| 0 | Recursively enumerable | , has non-terminal | Turing machine |
Each type is a subset of the below type:
Type 3 Type 2 Type 1 Type 0.
Not all languages are RE. Proven using counting argument: .