Related articles |
---|
c code inliner paulw@mmail.ath.cx (2005-03-31) |
Re: c code inliner nathan.moore@sdc.cox.net (Nathan Moore) (2005-04-02) |
Re: c code inliner basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2005-04-02) |
Re: c code inliner tmk@netvision.net.il (2005-04-02) |
Re: c code inliner eeide@cs.utah.edu (Eric Eide) (2005-04-02) |
Re: c code inliner pohjalai@cc.helsinki.fi (A Pietu Pohjalainen) (2005-04-26) |
Re: c code inliner gtoal@gtoal.com (2005-04-30) |
Re: c code inliner idbaxter@semdesigns.com (Ira Baxter) (2005-05-04) |
From: | "Ira Baxter" <idbaxter@semdesigns.com> |
Newsgroups: | comp.compilers |
Date: | 4 May 2005 12:34:33 -0400 |
Organization: | http://extra.newsguy.com |
References: | 05-03-122 05-04-065 |
Keywords: | C, tools |
Posted-Date: | 04 May 2005 12:34:33 EDT |
paulw@mmail.ath.cx wrote:
> > Can gcc or cpp produce c code after inlining?
> > I.e. I only want my c code after inlining but not compiled.
> > Sort of like preprocessing "-E" but with inlining.
> > Or any one knows any tools that does only "controlled" inlining?
> > I don't need optimization or any thing, just inlining.
The DMS Software Reengineering Toolkit could be used to do this. It
has a full C front parser, tree builder, name+type resolver, the
ability to apply procedural as well as source-to-source program
transformations, and can prettyprint the transformed trees back into C
code complete with comments.
See http://www.semdesigns.com/Products/FrontEnds/CFrontEnd.html
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Return to the
comp.compilers page.
Search the
comp.compilers archives again.