CSCE 434 Lecture 20
Jump to navigation
Jump to search
« previous | Wednesday, October 9, 2013 | next »
Building a SLR parser
Canonical LR(0) items
Kernel items: all items with cursor at left end of RHS, with addition of a rule .
is a production in the augmented grammar mapping a new start state to the start state of a grammar .
We do this because we cannot have an "initial" item or final item in the original grammar (nothing goes to )
: set of items; take its closure (all possible items reachable from the current state)