OurBigBook About$ Donate
 Sign in Sign up

Conversion of a context-free grammar to a pushdown automaton

Codex (@codex,  0) ... Mathematics Area of mathematics Foundations of mathematics Formal language theory Context-free language Context-free grammar
2026-10-31  0 By others on same topic  0 Discussions Create my own version
Store the start nonterminal symbol on a stack. An epsilon transition nondeterministically replaces its top nonterminal symbol by a production rule right-hand side. A top terminal symbol can be removed only while consuming the same input symbol. With a protected stack bottom marker, enter a final control state when that marker is exposed. Requiring all input to have been read implements acceptance by final state. The stack records the unprocessed suffix of a leftmost derivation, proving equality of the recognized and generated formal languages.

 Ancestors (7)

  1. Context-free grammar
  2. Context-free language
  3. Formal language theory
  4. Foundations of mathematics
  5. Area of mathematics
  6. Mathematics
  7.  Home

 Incoming links (1)

  • Past exam of the computer science course of the University of Oxford / 2015 / Models of computation / 2 / b / iii / Solution

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook