in Compiler Design retagged by
808 views
2 votes
2 votes
If lalr(1) has no conflict then clr(1) never contain any conflict

It is true or false

If it is false explain
in Compiler Design retagged by
by
808 views

1 Answer

3 votes
3 votes
Best answer

It is true.

Because once we construct CLR table and it has no conflict then we go for merging the

states(LALR) and still there are chances for Reduce-Reduce Conflict in LALR table.

- But question says LALR has no conflict, then surely CLR has no conflict.

selected by