GATE CSE
First time here? Checkout the FAQ!
x
0 votes
68 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 (29.5k points)   | 68 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 (47.3k 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 May 2017
  1. akash.dinkar12

    3338 Points

  2. pawan kumarln

    2108 Points

  3. Bikram

    1922 Points

  4. sh!va

    1682 Points

  5. Arjun

    1614 Points

  6. Devshree Dubey

    1272 Points

  7. Debashish Deka

    1208 Points

  8. Angkit

    1056 Points

  9. LeenSharma

    1018 Points

  10. Arnab Bhadra

    812 Points

Monthly Topper: Rs. 500 gift card
Top Users 2017 May 22 - 28
  1. Bikram

    1008 Points

  2. pawan kumarln

    734 Points

  3. Arnab Bhadra

    726 Points

  4. Arjun

    342 Points

  5. bharti

    328 Points


22,893 questions
29,196 answers
65,302 comments
27,695 users