Re: C compiler front end wanted

Michael Beck <mm.beck@gmx.net>
Fri, 20 Jun 2008 14:43:41 +0200

          From comp.compilers

Related articles
[2 earlier articles]
Re: C compiler front end wanted dg@cowlark.com (David Given) (2008-06-15)
Re: C compiler front end wanted sammyderoy@sympatico.ca (Sammy) (2008-06-15)
Re: C compiler front end wanted torbenm@pc-003.diku.dk (2008-06-16)
Re: C compiler front end wanted DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-06-15)
Re: C compiler front end wanted monnier@iro.umontreal.ca (Stefan Monnier) (2008-06-17)
Re: C compiler front end wanted dg@cowlark.com (David Given) (2008-06-20)
Re: C compiler front end wanted mm.beck@gmx.net (Michael Beck) (2008-06-20)
Re: C compiler front end wanted theresistor@gmail.com (2008-06-20)
Re: C compiler front end wanted eliben@gmail.com (eliben) (2008-07-04)
| List of all articles for this month |

From: Michael Beck <mm.beck@gmx.net>
Newsgroups: comp.compilers
Date: Fri, 20 Jun 2008 14:43:41 +0200
Organization: University of Karlsruhe, Germany
References: 08-06-027
Keywords: C, tools
Posted-Date: 21 Jun 2008 12:57:52 EDT

David Given wrote:


> I'm working on a C based tool that needs to operate of a full C AST ---
> basically, it can be thought of as a code generator for a really twisted
> CPU architecture.
>
> Does anyone know if there are any clean, standalone libraries for
> parsing, verifying and then generating full ASTs, from C source code?
[..]


You may try cparser (http://sourceforge.net/projects/cparser), our C99
frontend for libFirm. It's written in C99 and parses C99, most of GNU C and
some MS C extensions. It can at least compile the SPEC2000.
Currently you will additionaly need libFirm, because cparser uses it to do
the necessary constant folding.
We will drop this dependency in the next versions ...


best regards,
--
Michael Beck mm.beck@gmx.net



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.