Conflicts in LR(0)

explain it.....or just we have to cram it up?

Image icon hhj.jpg

Shreyans Dhankhar @shreyans 27 Oct 2014 10:27 am

in LR(0) the reduce entries in d table will be at every terminal so if there is already a shift action then we have a possiblity that we can have a reduce action too similarly when we have a reduce action then also we have a possiblity to get the reduce action so that is y both S-R nd R-R conflicts can be there.

Parimal Andhalkar @parimal_andhalkar 5 Jan 2016 07:05 pm

in LR(0) conflicts are :

SR conflict ie. shift and reduce move in same state.

RR conflict ie two or more reduce move in same state.