in Compiler Design retagged by
507 views
1 vote
1 vote
IS EVERY LL(1) GRAMMAR LALR(1)?? I DONT KNOW WHETHER ITS TRUE OR NOT?

CAN SOMEONE EXPLAIN??
in Compiler Design retagged by
507 views

4 Comments

see pic

5
5

if ur grammmar is epsilon free then every LL(1) will be LALR  also
but if it contains epsilon..it may or may nt be LALR..

0
0
thanx. can u plz tell from where to read this topic?
0
0
dragon book is best...these diagrams are from that only..just keep this fig in mind nthng much ...
0
0

1 Answer

3 votes
3 votes
Best answer

So, there are certain grammars which are LL(1) but not LALR(1)

selected by

1 comment

Thanx :)
0
0