Re: C parser yielding syntax tree data structure?

"tmp123" <tmp123@menta.net>
9 Apr 2006 17:26:01 -0400

          From comp.compilers

Related articles
C parser yielding syntax tree data structure? andrews@csd.uwo.ca ((Jamie Andrews)) (2006-04-08)
Re: C parser yielding syntax tree data structure? do_not_have@sorry.bitbuck.cmm (Rod Pemberton) (2006-04-09)
Re: C parser yielding syntax tree data structure? tmp123@menta.net (tmp123) (2006-04-09)
Re: C parser yielding syntax tree data structure? muehlenf@sbox.tugraz.at (Arndt Muehlenfeld) (2006-04-12)
Re: C parser yielding syntax tree data structure? idbaxter@semdesigns.com (Ira Baxter) (2006-04-12)
Re: C parser yielding syntax tree data structure? p.black@acm.org (Paul E. Black) (2006-04-14)
Re: C parser yielding syntax tree data structure? scared.of.any@reply.mail (Rod Pemberton) (2006-04-16)
Re: C parser yielding syntax tree data structure? robert.thorpe@antenova.com (2006-04-21)
| List of all articles for this month |

From: "tmp123" <tmp123@menta.net>
Newsgroups: comp.software-eng,comp.compilers,comp.lang.c
Date: 9 Apr 2006 17:26:01 -0400
Organization: http://groups.google.com
References: 06-04-044
Keywords: C, parse
Posted-Date: 09 Apr 2006 17:26:01 EDT

  (Jamie Andrews) wrote:
> For a research project, we're looking for a reliable parser for C
> that will take an ANSI C program and yield a tree representation of
> the program (as a Java or C++ object). ...


I've not done it, but, if I should solve the same problem, my first
step will be see if a C compiler can "dump" the tree in a readable
format. By example, gcc allows the options -fdump-tree-xxxx


It could work, ... or not.



Post a followup to this message

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