4 votes 4 votes Synthesized attribute can easily be simulated by an LL grammar ambiguous grammar LR grammar none of the above Compiler Design nielit2017oct-assistanta-cs compiler-design syntax-directed-translation + – admin asked Apr 1, 2020 • edited Aug 29, 2020 by soujanyareddy13 admin 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes https://gateoverflow.in/135434/compiier-design#:~:text=Synthesized%20attributes%20can%20be%20easily,evaluates%20in%20bottom%20up%20fashion. Ollie answered Jun 6, 2020 Ollie comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes LR grammar best simulates the Synthesized attributes. synthesized attributes generally work in bottom up parsing. Hence answer should be option C. Gyanu answered Sep 23, 2020 Gyanu comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes it is synthesized attribute, It is processed best by Bottom up parser which is also LR parser. shashankrustagi answered Oct 24, 2020 shashankrustagi comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Since in S attributed grammar first the child are evaluated first then the parent.So LR grammar will be suitable for this.Hence option C samarpita answered Jan 4, 2022 samarpita comment Share Follow See all 0 reply Please log in or register to add a comment.