retagged by
1,021 views

2 Answers

1 votes
1 votes
S' -> .S

S -> .aSa | .bSb | .A

A -> .aBb

now second item set can be obtained by taking transition on a

S -> a.Sa

A -> a.Bb

S -> .aSa | .bSb | .A

A -> .aBb

B -> .aB | .bB | .

now this B-> .   is a reduce move

So SR conflict occurs hence it is not LR(0)

Related questions

1 votes
1 votes
3 answers
3
Pradip Nichite asked Jan 17, 2016
772 views
Here what will be the lookahead for first state?Here is given answer:
0 votes
0 votes
1 answer
4
sourabh asked Dec 29, 2015
207 views