|
Perhaps I overstated the ``directness'' of the correspondence between activation tree and parse tree. The CFG is essentially a purely recursive program. The C program in the exercise has an iteration in it. If you think of the variant C program where the iteration is simulated by more recursion, then the trees correspond very directly. Then, you can identify the way that the activation tree collapses a bit with iteration instead of recursion. Mike O'D. |
to: