Automata and formal languages
Abstract machines (finite automata, pushdown automata, Turing machines) recognise classes of languages in the Chomsky hierarchy.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Regular languages ↔ finite automata ↔ regular expressions (Kleene, 1956). Context-free languages ↔ pushdown automata (used for programming language syntax). Rabin and Scott introduced nondeterministic automata (Turing Award 1976). The pumping lemma proves some languages are not regular.
Example
How it works, step by step
- Define states and alphabet
- Specify transitions
- Mark start and accept states
- Run input; accept if it ends in an accept state
Open the interactive page with diagrams →
People behind it
- Stephen Kleene
- Michael O. Rabin
- Dana Scott
- Noam Chomsky
References
- M. O. Rabin, D. Scott, IBM J. Res. Dev. 1959, 3, 114–125.
- S. C. Kleene, in Automata Studies, Princeton University Press, 1956, 3–41.
Textbooks
- Introduction to the Theory of Computation, Michael Sipser (Cengage, 3rd ed. 2012). Automata, computability and complexity.
Related topics
Turing machines and computabilityMemory hierarchy and cachesString algorithms and pattern matchingPipelining and parallel processorsGreedy algorithms and minimum spanning treesFile systems and storageHeaps and priority queuesVirtualisation and containersRecursionCloud computing