Re: parser for C -> AST

torbenm@app-4.diku.dk (Torben =?iso-8859-1?Q?=C6gidius?= Mogensen)
Tue, 02 Oct 2007 09:47:31 +0200

          From comp.compilers

Related articles
parser for C -> AST richard.melikson@gmail.com (2007-10-01)
Re: parser for C -> AST adelantado@rwaltman.com (Roberto Waltman) (2007-10-01)
Re: parser for C -> AST sammyderoy@sympatico.ca (Sammy) (2007-10-01)
Re: parser for C -> AST paul@paulbmann.com (Paul B Mann) (2007-10-02)
Re: parser for C -> AST adelantado@rwaltman.com (Roberto Waltman) (2007-10-01)
Re: parser for C -> AST torbenm@app-4.diku.dk (2007-10-02)
Re: parser for C -> AST tom@infoether.com (Tom Copeland) (2007-10-03)
| List of all articles for this month |

From: torbenm@app-4.diku.dk (Torben =?iso-8859-1?Q?=C6gidius?= Mogensen)
Newsgroups: comp.compilers,comp.lang.c
Date: Tue, 02 Oct 2007 09:47:31 +0200
Organization: Department of Computer Science, University of Copenhagen
References: 07-10-008
Keywords: C, parse
Posted-Date: 03 Oct 2007 13:17:03 EDT

richard.melikson@gmail.com writes:


> I have to do some analysis of C code. Is it possible to find online a
> free parser for C that will generate some kind of syntax tree / AST ?
>
> It doesn't have to be C99.


Here is one for SML:


http://www.smlnj.org/doc/ckit/index.html


and for OCaml:


http://manju.cs.berkeley.edu/cil/


Both of the above were made to make it easy to analyse and transform C
programs.


Torben


Post a followup to this message

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