GATE | GATE CS 1997 | Question 66

A language L is a subset of Pascal with the following constructs:

a). Expressions involving the operators ‘+’ and ‘<‘ only
b). Assignment statements
c). ‘while’ statements and
d). Compound statements with the syntax ‘begin…………..end’

Give an unambiguous grammar for L.


Answer:

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.