CS 3240 - Chapter 7
CS 3240 - Chapter 7
CS 3240 - Introduction 2
Take an FA and add a stack
A restricted form of unbounded memory
Operations:
Pop
Push
Ignore (λ)
(Pop always precedes push)
Trace aabb…
Exercise:
Rewrite wcwR in functional form
S → aSb | aSbb | λ
Trace aaabbbb
Try abababbbb.
How would you do Twicea?
Derive abbbaaba
Languages
accepted by DFA
Languages accepted by
deterministic PDA