0 votes 0 votes if any production of given grammar is A → ε {A.v = 0} then A.v is ? a) inherited attribute b) synthesized attribute Compiler Design compiler-design syntax-directed-translation + – skyby asked Dec 14, 2017 skyby 441 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Anu007 commented Dec 14, 2017 reply Follow Share It is synthesized attribute and inherited too. 0 votes 0 votes skyby commented Dec 15, 2017 reply Follow Share any reason (reference to book) , 'cause i've seen synthesized attribute as an answer in one of the test series 0 votes 0 votes anonymous commented Oct 9, 2018 reply Follow Share only synthesized here there is no inheritation at all . 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes It's both Synthesized and Inherited. Synthesized evaluates value from parent and Inherited evaluates both from parent and siblings to the left. PiratedVirus answered Jun 15, 2018 PiratedVirus comment Share Follow See all 0 reply Please log in or register to add a comment.