Context Free Languages
Grammars
Homework and Exams
- Homework
– Return Homework #2 – Homework #3 Due today
Homework and Exams
– Homework #4 (due 10/13)
- Exercise 5.1.2 b, c (pg 180)
- Exercise 5.1.7 a,b (pg 181)
- Exercise 5.2.1 b,c (pg 191)
- 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
Homework and Exams
- …and Exams
– Exam 1 is Wednesday!! – Questions?
Schedule Mangling
- Today
– Chapter 5: CFGs, Parse Trees, Ambiguity
- Wednesday
– Exam 1 – Problem Session for Chapter 5
- Monday, Oct 13th
– Homework #4 due – Homework #5 Assigned – Chapter 6: Pushdown Automata
- Wednesday, Oct 15th
– Chapter 6 (cont) – Problem Session for Chapter 6
Schedule Mangling
- Perhaps more mangling to come in Week 8
– Move exam 2 to Wednesday? – Stay tuned
- Watch the schedule page