|intermediate rep. which? firstname.lastname@example.org (1993-05-06)|
|Re: intermediate rep. which? email@example.com (Mohd Hanafiah Abdullah) (1993-05-08)|
|From:||"Mohd Hanafiah Abdullah" <firstname.lastname@example.org>|
|Organization:||Indiana University Computer Science, Bloomington|
|Date:||Sat, 8 May 1993 16:07:53 GMT|
email@example.com (Jason L. Eckhardt) writes:
>I'm planning on writing a compiler for a subset of 'C'...
>[What's a good intermediate representation?]
I used an Abstract Syntax Tree IR for my ANSI C compiler, and it was great
as far as retargetability and optimizations were concerned. Some people
say that ASTs are too high-level for certain optimizations at the register
level, but I found out that this wasn't true. ASTs are quite versatile.
Return to the
Search the comp.compilers archives again.