Related articles |
---|
How to generate code from an AST tree? felixmish@usa.net (Felix Mish) (1999-02-24) |
From: | "Felix Mish" <felixmish@usa.net> |
Newsgroups: | comp.compilers |
Date: | 24 Feb 1999 12:31:42 -0500 |
Organization: | Compilers Central |
Keywords: | code, comment |
Hello everyone,
Does anyone have some tutorial about how to generate code from an AST tree?
Sincerely,
Felix
[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
comp.compilers page.
Search the
comp.compilers archives again.