|Parameters for Designing a Intermediate Representation ? email@example.com (manish) (2006-12-10)|
|Re: Parameters for Designing a Intermediate Representation ? firstname.lastname@example.org (Robert H) (2006-12-21)|
|From:||"Robert H" <email@example.com>|
|Date:||21 Dec 2006 10:27:52 -0500|
> I would like to know what people think about various parameters in
> designing a IR for a compiler.
> [It entirely depends what you want to do. If you just want to
> generate code quickly, an AST or RPN is plenty. If you want to do
> more sophisticated analyses and transformations, you need more complex
> data structures. -John]
And of course my favorite comment - look at existing implementations:
Whirl, LLVM, GNU
Return to the
Search the comp.compilers archives again.