GATE CSE
First time here? Checkout the FAQ!
x
0 votes
98 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 (38.7k points)   | 98 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 (49.2k 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


Top Users Sep 2017
  1. Habibkhan

    6362 Points

  2. Warrior

    2234 Points

  3. Arjun

    2212 Points

  4. nikunj

    1980 Points

  5. manu00x

    1726 Points

  6. SiddharthMahapatra

    1718 Points

  7. Bikram

    1716 Points

  8. makhdoom ghaya

    1660 Points

  9. A_i_$_h

    1528 Points

  10. rishu_darkshadow

    1512 Points


25,988 questions
33,561 answers
79,406 comments
31,026 users