Construct SLR parse table for following grammar
E
E + E | E - E | E * E | E / E | ( E ) | digit
Show steps in parsing of string
9*5+(2+3*7)
. Steps to be followed
- Augment the grammar
- Construct set of LR(0) items
- Construct the parse table
- Show states of parser as the given string is parsed