retagged by
367 views

1 Answer

Best answer
2 votes
2 votes
we know in S attributed ...parent takes values from child...

while in L attributed the we can take values from parent or from LEFT siblings...but not from right-ones...

Here A.x takes value from B.x means from the right sibling....

SO OPTION D IS CORRECT...its not S attributed and L attributed too...

100% wrong answer given,,,
selected by
Answer:

Related questions

0 votes
0 votes
2 answers
1
jaswanth431 asked Nov 16, 2021
872 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
3