Lecture 10
Lecture 10
Grammar
LR(0)
automata
Grammar
Grammar
•Accept
•Error
Parse table
rows: states
columns: terminals (for shift and reduce
actions) non-terminals (for goto
actions)
ACTION GOTO
If any conflicting actions results from the above rules, we say the
grammar is not SLR(1).
BITS Pilani, Hyderabad Campus
Grammar
SLR table
ACTION GOTO
ACTION GOTO