The Gateway to Computer Science Excellence
0 votes
21 views

 Show that the following grammar

  • $S\rightarrow Aa\mid bAc\mid dc\mid bda$
  • $A\rightarrow d$

is LALR(1) but not SLR(1).

in Compiler Design by Veteran (54.7k points) | 21 views

1 Answer

0 votes

The given grammar is LALR(1) but not SLR(1).

by (293 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,648 questions
56,429 answers
195,206 comments
99,913 users