← Graph

Pushdown Automaton

concept 2 connections

A finite-state machine extended with a stack as memory. Recognizes context-free languages. Deterministic and non-deterministic variants have different expressive power (unlike in regular languages or Turing machines). Canonical use case: checking that parentheses in source code are balanced — push on open, pop on close. Underlies the syntactical analysis phase of compilers.

category
pattern
about
Pushdown Automaton concept
Explains pushdown automata as FSM + stack for context-free languages, with the parenthesis-matching example.
concept Pushdown Automaton
related_to
Pushdown automata parse context-free languages.

Provenance

Read by
1 extraction