Bottom-Up Parsing/Example 4: LALR(1)

From Wiki**3

< Bottom-Up Parsing
Revision as of 15:18, 16 May 2011 by Root (talk | contribs) (Created page with "{{TOCright}} = Problem = S -> L = R | R L -> * R | id R -> L Initial symbol: S Terminals: { =, *, id } Input: Compact. Is this an SLR(1) grammar? == Solution == [[cat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

S -> L = R | R
L -> * R | id
R -> L

Initial symbol: S

Terminals: { =, *, id }

Input:

Compact.

Is this an SLR(1) grammar?

Solution