Вы находитесь на странице: 1из 26

Push Down Automata

PDA:
y we will introduce new kind of machine: pushdown

automaton (PDA). y Will see connection between


context-free languages pushdown automata

y Pushdown automata and FAs share some features, but a

PDA can have one extra key feature: STACK.


infinitely long INPUT TAPE on which input is written.

y Once blank

is encountered on INPUT TAPE, all of the following cells also contain

CFG and PDA:

Chomsky Normal Form:

Leftmost Non-terminals and Derivations:

Вам также может понравиться