Feedback Given one form, produce another 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Take-home midterm exam, due 6 November (Mike O'Donnell)
Re: Question question about problem 1 (Michael C. Brizic)
Date: 2000, Nov 02
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

is this the idea of conversion; taking an expression written in say, prefix form, and then drawing its abstract syntax tree?
That's exactly right.
we need to know what the relationship is between the evaluation code and abstract syntax trees. Does this mean the sequence of operations that would be performed by the machine in assembly language to perform the math that is represented by the abstract syntax?
Right. If you were given an abstract syntax tree, and needed to produce evaluation code, you might first produce a postfix, and then translate the postfix to evaluation code. But I will also ask a question that requires you to relate some characteristic of the evaluation code directly to the structure of the abstract syntax tree.



Mike O'D.


to: "Given one form, produce another"