in Others
15,247 views
3 votes
3 votes

 Synthesized attribute can be easily simulated by a

(A) LL grammar            (B) Ambiguous grammar

(C) LR grammar           (D) None of the above

Answer: C

in Others
15.2k views

3 Comments

how?

synthesies attribute means : taking value  from the childs right

how can we compare it with LR

i can't able to get it
0
0
synthesized attributes generally work in bottom up parsing enviroment...LL(1) parser is top down paser
2
2
ok thnks
0
0

1 Answer

2 votes
2 votes
Synthesized attributes can be easily simulated by a LR grammar bcz synthesized attributes evaluates in bottom up fashion and LR grammar also evaluates in  bottom up fashion.