edited by
1,121 views
1 votes
1 votes

How do we know when to execute which semmentic action?

edited by

4 Answers

Best answer
5 votes
5 votes

Always Observe the flow of information.

selected by
0 votes
0 votes
build  parse   tree and at each node associate its attribute with definition.
0 votes
0 votes
What's the asnwer?? Can u upload more clear pic. . The fonts r too small for some of the rules.

Is 9 the answer?

Related questions

1 votes
1 votes
1 answer
1
Na462 asked Jan 13, 2019
1,245 views
Consider the following Translation rules for the Grammar G :What will be the output for input string abebebe for bottom up parser ?CBBPBPBPCBBBPPBBCBPBPBPBCBPBBPPB
5 votes
5 votes
2 answers
3
vaishali jhalani asked Jan 7, 2017
1,424 views
$\begin{align*} &E\rightarrow E+E \qquad {\color{red}{\text{E.val} = \text{E}_1\text{.val} { \;\;\large + \;\; } \text{E}_2\text{.val}}} \\ &E\rightarrow E*E \; \qquad {\...