The Gateway to Computer Science Excellence
+1 vote
589 views
Can you give an example which is not LL(1) but is CLR(1)
in Compiler Design by Active (2.5k points) | 589 views

1 Answer

+6 votes
Best answer

S->Aa/bAc/Bc/bBa

A->d

B->d

this grammar is not LL(1) but it is CLR(1). below image will clear your doubt more-

by Loyal (9.3k points)
selected by
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,737 questions
57,405 answers
198,628 comments
105,467 users