next up previous contents
Next: Grammars for Programming Languages Up: CONTEXT-FREE LANGUAGES Previous: CONTEXT-FREE LANGUAGES   Contents

The Chomsky Hierarchy

Obviously languages exist which are not regular; Noam Chomsky categorised regular and other languages as follows:

Language Class Grammar Automaton
3 Regular NFA or DFA
2 Context-Free Push-Down Automaton
1 Context-Sensitive Linear-Bounded Automaton
0 Unrestricted (or Free) Turing Machine

This is a hierarchy, so every language of type 3 is also of types 2, 1 and 0; every language of type 2 is also of types 1 and 0 etc.

The distinction between languages can be seen by examining the structure of the production rules of their corresponding grammar, or the nature of the automata which can be used to identify them.


next up previous contents
Next: Grammars for Programming Languages Up: CONTEXT-FREE LANGUAGES Previous: CONTEXT-FREE LANGUAGES   Contents
James Power 2002-11-29