Chapter 14: Pushdown Automata

Topics
The pushdown automaton (PDA)
Regular languages are accepted by PDA's
Example PDA


The pushdown automaton (PDA)

We invent a new machine:

Notes:
Regular languages are accepted by PDA's

We only need to show that any FA can be upgraded to a PDA:


Example PDA

Trace of our PDA's behavior on the input string aabb:

action input pushdown
stack (top at left)
action input pushdown
stack (top at left)
Start aabbD D Pop (a) bD aD
Read (a) abbD D Read (b) D aD
Push a abbD aD Pop (a) D D
Read (a) bbD aD Read (D)    
Push a bbD aaD Pop (D )    
Read (b) bD aaD Accept    

Based on this, can you tell what language this machine accepts?

Hosted by www.Geocities.ws

1