1
Context Free Languages
Grammars
Homework
- Homework
– Return Homework #2 – Homework #3 Due today
Homework
– Homework #4 (due 10/11 or 10/9)
- Exercise 5.1.2 a, b, c (pg 180)
- Exercise 5.2.1 a,b,c (pg 191)
- Exercise 5.4.2 (pg 214)
- Design a CFG for the following languages
– Set of odd length strings in {a,b}* with middle symbol a – Set of even length strings in {a,b}* with the 2 middle symbols equal
- Show that the CFG with the productions below is
ambiguous:
– S→a | Sa | bSS | SSb | SbS
Before We Start
- Any questions?
Plan for today
- Context Free Languages
– Next class of languages in our quest!
Languages
- Recall.