retagged by
232 views
0 votes
0 votes
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.
retagged by

Please log in or register to answer this question.

Related questions

1 votes
1 votes
2 answers
3
Lovejeet Singh asked Nov 7, 2018
1,190 views
How will the compiler detect whether "if" is a keyword or an identifier?Please tell me the concept behind this.