The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
145 views
Merging states with a common core may produce __________ conflicts and does not produce ___________ conflicts in an LALR purser.
asked in Compiler Design by Veteran (42.7k points) | 145 views

1 Answer

+2 votes

Merging states with a common core may produce Reduce - Reduce conflicts and does not produce Shift- Reduce conflicts in an LALR purser.

answered by Veteran (55.5k points)
what do you mean by common core same grammer with different look ahead symbols how will it produce reduce- reduce conflicts i think it will not produce any kind of conflicts can u explain with an exaample
why do we say that lr parser compreses reduce and gives preference to shift in case of sr conflict


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

29,017 questions
36,844 answers
91,375 comments
34,721 users