454 views
0 votes
0 votes

Suppose Grammars given:-

S→ Bbb

B→ epsilon

If we do SLR(1) parsing on the above grammar. Then the first state would have shift-reduce conflict right??

Because B→ epsilon would be same as B→ . right? Please make this clear.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
1
goluabhinan asked Sep 16, 2018
4,944 views
Which of the following optimization techniques are typically applied on loops?(a) Removal of invariant computation (b) Elimination of induction variables(c) Peephole opti...
0 votes
0 votes
1 answer
2
sushmita asked Jan 18, 2017
690 views
is DAG in compiler syllabus?
1 votes
1 votes
1 answer
3
sushmita asked Jan 17, 2017
507 views
IS EVERY LL(1) GRAMMAR LALR(1)?? I DONT KNOW WHETHER ITS TRUE OR NOT?CAN SOMEONE EXPLAIN??
0 votes
0 votes
1 answer
4