|How to generate code from an AST tree? firstname.lastname@example.org (Felix Mish) (1999-02-24)|
|From:||"Felix Mish" <email@example.com>|
|Date:||24 Feb 1999 12:31:42 -0500|
Does anyone have some tutorial about how to generate code from an AST tree?
[The short answer is that you walk the tree depth first generating code at
each node, passing up values that tell interior nodes where the values from
the outer nodes are. -John]
Return to the
Search the comp.compilers archives again.