|Higher-level intermediate representation firstname.lastname@example.org (2001-07-17)|
|Re: Higher-level intermediate representation email@example.com (Ira D. Baxter) (2001-07-18)|
|Re: Higher-level intermediate representation firstname.lastname@example.org (Gabriel Dos Reis) (2001-07-23)|
|From:||"Ira D. Baxter" <email@example.com>|
|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" <firstname.lastname@example.org> 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.