(→Problem) |
(→Problem) |
||
Line 5: | Line 5: | ||
Terminals: '''{ =, *, id }''' | Terminals: '''{ =, *, id }''' | ||
− | + | <!-- | |
− | Input: | + | Input: --> |
S → L = R | R | S → L = R | R |
Contents |
Initial symbol: S
Terminals: { =, *, id }
S → L = R | R L → * R | id R → L
Is this an SLR(1) grammar?
Compute and compact the parse table.