Aabe a abc b b d e 8 9 s aabe stack input

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: de$ $aA de$ $aAd e$ •   Consider what happens before and aOer a reduce… 20 Winter 2013 UW CSE 401 (Michael Ringenburg) 10 1/23/13 S ::= aABe A ::= Abc | b B ::= d Trace e accept 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… 21 Winter 2013 UW CSE 401 (Michael Ringenburg) S ::= aABe A ::= Abc | b B ::= d Trace accept Stack Input S$ $ abbcde$ a start 1 2 $a bbcde$ b $ab bcde$ 4 $aA bcde$ A ::= b $aAb cde$ $aAbc de$ $aA de$ $aAd e$ $aAB e$ •   Pop the handle off the stack Winter 2013 UW CSE 401 (Michael Ringenburg) 8 B A 3 b 6 e c 9 S ::= aABe 7 A ::= Abc d 5 B ::= d 22 11 1/23/13 S ::= aABe A ::= Abc | b B ::= d Trace accept Stack Input S$ $ abbcde$ a start 1 2 $a bbcde$ b $ab bcde$ 4 $aA...
View Full Document

Ask a homework question - tutors are online