Re: parser for C -> AST

Roberto Waltman <adelantado@rwaltman.com>
Mon, 01 Oct 2007 13:05:23 -0400

          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: Roberto Waltman <adelantado@rwaltman.com>
Newsgroups: comp.lang.c,comp.compilers
Date: Mon, 01 Oct 2007 13:05:23 -0400
Organization: Compilers Central
References: 07-10-008
Keywords: C, parse
Posted-Date: 02 Oct 2007 00:42:21 EDT

  richard.melikson@gmail.com wrote:
>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 ?
>All I could find is bits and pieces of lex/yacc files that don't
>compile, and I tried to look at TCC but its parser is intergrated with
>the generator in a stack-based manner, so no AST.


Check LCC ( http://www.cs.princeton.edu/software/lcc/ ) and the C
grammars for PCCTS and ANTLR.


Roberto Waltman


Post a followup to this message

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