(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...") |
|||
Line 18: | Line 18: | ||
== Solution == | == Solution == | ||
− | [[category: | + | [[category:Compiladores]] |
− | [[category: | + | [[category:Ensino]] |
Contents |
S -> L = R | R L -> * R | id R -> L
Initial symbol: S
Terminals: { =, *, id }
Input:
Compact.
Is this an SLR(1) grammar?