In SLR parsing for the grammar S’ → S, S →aSbS | bSaS | ϵ

In first state, for input ‘a’ and ‘b’ we do not have-

1
shift-reduce conflict on ‘a’ only.
2
shift-reduce conflict and reduce-reduce conflict on ‘b’.
3
shift-reduce conflict and reduce-reduce conflict on ‘a’.
4
shift-reduce conflict on ‘b’ only.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation