Recent questions tagged syntax-directed-translation

2 votes
1 answer
125
How to get the second string,i.e., 6*2/1-2*3 from the given grammar?
2 votes
0 answers
126
5 votes
1 answer
128
Match the following1) L attributed definition 1)Top down parsing2) S attributed definition 2) Bottom up parsing ...
0 votes
1 answer
129
Which of the following is true?(A) Every L attributed definition is S attributed(B) Every S attributed definition is L attributed
0 votes
1 answer
131
if any production of given grammar isA → ε {A.v = 0}then A.v is ?a) inherited attributeb) synthesized attribute
0 votes
1 answer
136
1 votes
1 answer
137
1 votes
2 answers
138
0 votes
1 answer
139
in 1 first part answer is d?in 2nd part i have doubt regarding c==>4. is it synthesised attribute?
1 votes
0 answers
142
1 votes
1 answer
143
what is the output produced for the input "pqsqsr" using the top down parsing?Also what is the result if semantic actions are at right not in middle
0 votes
0 answers
145
0 votes
1 answer
146
in syntax directed translation top down translation is in syllabus?
1 votes
2 answers
149
Here a as well as c can be the answer based on the construction of the parse tree. So how to decide which one to choose?
1 votes
1 answer
150
Consider the following transition rules:A BCC >+BC | A | epsilionB DB{print '+';} | epsilionD (A)| id{print id.value;}On input ' 5+67 ', this translation schme will pr...