|Higher-level intermediate representation email@example.com (2001-07-17)|
|Re: Higher-level intermediate representation firstname.lastname@example.org (Ira D. Baxter) (2001-07-18)|
|Re: Higher-level intermediate representation email@example.com (Gabriel Dos Reis) (2001-07-23)|
|From:||"Ira D. Baxter" <firstname.lastname@example.org>|
|Date:||18 Jul 2001 19:57:01 -0400|
|Posted-Date:||18 Jul 2001 19:57:01 EDT|
The DMS Software Reengineeering Toolkit is designed to exactly this.
It parses C (and many other languages), automatically builds ASTs,
recording source file position, lexical shape information, comments,
and preprocessor directives. It can carry out source-to-source
transformations specified in the target language syntax (in this case, C),
as well as procedural source-to-source transforms. Finally,
it can prettyprint the resulting trees, reproducing the comments,
preprocessor directives, and lexical information that is unchanged
exactly. DMS also handles scale: it can process tens of thousands
of files in a single session, allowing you to perform transformations
that cross file boundaries.
Ira D. Baxter, Ph.D. CTO Semantic Designs, Inc.
"Sung-taek Lim" <email@example.com> wrote in message
> I need a C language front-end to perform several source-to-source
> transformations. Tree or RTL of gcc are not proper because recovering
> original C sources from those IR is not possible(Am I right?).
Return to the
Search the comp.compilers archives again.