Bottom-Up Parsing/Example 3: SLR(1)
From Wiki**3
< Bottom-Up Parsing
Problem
S -> x A y | x B y | x A z B -> k A w S | k
Initial symbol: S
Terminals: { k, w, x, y, z }
Contents |
S -> x A y | x B y | x A z B -> k A w S | k
Initial symbol: S
Terminals: { k, w, x, y, z }