1 flag 17,436 views
4 4 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

  • 🚩 Duplicate | 👮 Hira Thakur | 💬 “https://gateoverflow.in/336909/nielit-2017-oct-scientific-assistant-a-cs-section-b-11”

1 Answer

3 3 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.
Position:
Show:

Related questions

0 0 votes
1 1 answer
154
154 views
1 1 vote
0 0 answers
142
142 views
Tin_ku asked Aug 2
142 views
We know that the class of languages of LR(0), SLR(1), LALR(1), CLR(1) is the class of DCFLs, with the only exception being that...An LR(0) language is a DCFL that has the...