The semantic rules for statements in Exercise 6.6.6 generate unnecessary labels. Modify the rules for statements in Fig. 6.36 to create labels as needed, using a special label deferred to mean that a label has not yet been created. Your rules must generate code similar to that in Example 6.21.
Exercise 6.6.6
Adapt the semantic rules in Figs. 6.36 and 6.37 to allow control to fall through, using rules like the ones in Figs. 6.39 and 6.40.
Figs. 6.36
Figs. 6.37
Figs. 6.39
Figs. 6.40
Fig. 6.36
Example 6.21
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here