retagged by
1,114 views
0 votes
0 votes

I know that every S attributed grammar is L attributed but not vice versa. Can anybody give example of the case if i print the semantic rules using L attributed the result will be different from the S attributed evaluation ? And how should i print the rules in both cases.

Explain both case in this example :

 

retagged by

1 Answer

0 votes
0 votes
B is the ans

Related questions

2 votes
2 votes
1 answer
1
4 votes
4 votes
2 answers
2
0 votes
0 votes
2 answers
3
jaswanth431 asked Nov 16, 2021
859 views
If the grammar has only S-attributed semantic definitions, in a top down parser we will add the semantic action at the end of production and it will we executed when we...
0 votes
0 votes
1 answer
4