|Does anyone have a source-to-source transformer for C email@example.com (1994-01-24)|
|Re: Does anyone have a source-to-source transformer for C firstname.lastname@example.org (1994-01-26)|
|From:||email@example.com (Bob Wilson)|
|Organization:||Stanford University Computer Systems Laboratory|
|Date:||Wed, 26 Jan 1994 21:34:35 GMT|
K.S. Nandakumar wrote:
> Does anyone know of a translator/compiler for C where i can have the
> intermediate representation converted back to C source codee after
> some transformations to the IR? I need this for my research purposes.
> It would be preferable to have the IR to be a tree.
The Stanford SUIF compiler does just what you want. We have an ANSI C
front end (derived from lcc) that produces SUIF files. The SUIF IR
provides both ASTs and expression trees, as well as linearized three-
operand instructions. Our SUIF-to-C translator is not yet very robust but
that will be fixed soon. We are planning to release the SUIF system for
research and other non-commercial uses sometime in the next few months.
More details will be available at that time.
Return to the
Search the comp.compilers archives again.