in Compiler Design
1,124 views
0 votes
0 votes
Can  LL(k) and LR(k) gammer has null and unit productions?
in Compiler Design
1.1k views

4 Comments

Null production is not possible  , but unit may be there.

take S-> A , A-> a
0
0
null production are also allowed..
1
1
yes. agree. i.e. when grammar is containing left recusion then we put null , to make ll(1)
0
0
do we need to eliminate left recursion and left factoring to make them LL(1) or LR(1) ??
0
0

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
4
sourabh asked in Compiler Design Dec 29, 2015
210 views
sourabh asked in Compiler Design Dec 29, 2015
by sourabh
210 views