Deterministic pushdown automaton
In automata theory, a deterministic pushdown automaton (DPDA or DPA) is a variation of the pushdown automaton. The class of deterministic pushdown automata accepts the deterministic context-free languages, a proper subset of context-free languages. Machine transitions are based on the current state and input symbol, and also the current topmost symbol of the stack. Symbols lower in the stack are not visible and have no immediate effect. Machine actions include pushing, popping, or replacing the stack top. A deterministic pushdown automaton has at most one legal transition for the same combination of input symbol, state, and top stack symbol.
This is where it differs from the nondeterministic pushdown automaton.
Wikipedia contributors, "Deterministic pushdown automaton", Wikipedia, revision 1366686375, retrieved 20 November 2026, source, CC BY-SA 4.0.