More CFG corresponds to purely recursive program 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Assignment #6, due Monday 13 November (Mike O'Donnell)
Re: Question CFG for balanced parentheses (Michael C. Brizic)
Re: Feedback Parse tree - activation tree correspondence is very direct (Mike O'Donnell)
Date: 2000, Nov 12
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

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: "CFG corresponds to purely recursive program"