A pushdown automaton (PDA) is a type of automaton that employs a stack. They are more capable than finite-state automata but are less capable than Turing machines.
Pushdown automata have the same expressive power as context-free grammar. The languages recognized by PDAs is exactly the class of context-free languages. Formally, for every CFG, there is a PDA that recognize the same language, and vice versa.
Subtopics
Visualization
Below is an example PDA for the language
Formalism
A pushdown automaton is a tuple
is the finite set of states is the finite input alphabet is the finite stack alphabet is the initial state is the set of final states
If the transition function takes a tuple of the form
If the transition function takes a tuple of the form
Finally,