{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture 7

Bcde a b b d aab cde aabc

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: c 1 2 3 6 7 \$a bbcde\$ b d \$ab bcde\$ 4 5 \$aA bcde\$ A ::= b B ::= d \$aAb cde\$ •   Consider what happens before and aOer a shiO … •  Repeat all of the states from before the shiO, and then make one more transiTon. Winter 2013 UW CSE 401 (Michael Ringenburg) Trace accept S ::= aABe A ::= Abc 17 S ::= aABe A ::= Abc | b B ::= d e 8 9 S ::= aABe Stack Input B S\$ \$ abbcde\$ a start A b c 1 2 3 6 7 A ::= Abc \$a bbcde\$ b d \$ab bcde\$ 4 5 \$aA bcde\$ A ::= b B ::= d \$aAb cde\$ \$aAbc de\$ \$aA de\$ \$aAd e\$ •   Consider what happens before and aOer a reduce… 18 Winter 2013 UW CSE 401 (Michael Ringenburg) 9 1/23/13 Trace accept S ::= aABe A ::= Abc | b B ::= d e 8 9 S ::= aABe Stack Input B S\$ \$ abbcde\$ a start A b c 1 2 3 6 7 A ::= Abc \$a bbcde\$ b d \$ab bcde\$ 4 5 \$aA bcde\$ A ::= b B ::= d \$aAb cde\$ \$aAbc de\$ \$aA de\$ \$aAd e\$ •   Consider what happens before and aOer a reduce… 19 Winter 2013 UW CSE 401 (Michael Ringenburg) Trace accept S ::= aABe A ::= Abc | b B ::= d e 8 9 S ::= aABe Stack Input B S\$ \$ abbcde\$ a start A b c 1 2 3 6 7 A ::= Abc \$a bbcde\$ b d \$ab bcde\$ 4 5 \$aA bcde\$ A ::= b B ::= d \$aAb cde\$ \$aAbc...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online