0 votes 0 votes https://gateoverflow.in/86869/gate1990-16a the given grammar is this G1:S→ if S then S else S S→ if S then S and in solution we used a terminal expr stmt→ if expr then stmt ∣ ifexpr then stmt else stmt ∣other eyeamgj asked Nov 10, 2018 eyeamgj 208 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply kumar.dilip commented Nov 10, 2018 reply Follow Share I think we can do this, there is no problem. 0 votes 0 votes eyeamgj commented Nov 10, 2018 reply Follow Share BUT HOW I MEAN IF I WILL U G1 THEN NOT TERMINATING REPEATING JUST IN A LOOP 0 votes 0 votes Please log in or register to add a comment.