I think that the given grammar is LL(1) . please explain me if I'm wrong.
Grammar is not LL(1). Productions B -->1B and B-->$\epsilon$ will be under terminal 1 conflict
Bro answer is its not LL(1) grammAr...
Look at this production
B->1B|episolon.........here first of 1B is {1}...and as production contain episolon we have to see follow of B...
Follow of B is First of C ...first of C={1}.....so we can say
IN THE ROW CORRESPONDING TO "B" AND COLUMN NAMED "1" WE HAVE 2 ENTRIES ...SO GRAMMAR IS NOT LL(1)
The Grammar is not LL1
A->0A1/ null first( 0,null) follow( 1,0, $)
so A->0A1 will be in column (0)
A->null will be in column( 0,1,$)
hence it's not LL1
64.3k questions
77.9k answers
244k comments
80.0k users