Re: C/C++ header file parser

Pascal Bourguignon <pjb@informatimago.com>
3 Oct 2006 18:12:55 -0400

          From comp.compilers

Related articles
C/C++ header file parser lost_stranger@verizon.net (Pankaj Garg) (2006-09-30)
Re: C/C++ header file parser daw@taverner.cs.berkeley.edu (2006-10-03)
Re: C/C++ header file parser pjb@informatimago.com (Pascal Bourguignon) (2006-10-03)
Re: C/C++ header file parser alex_mcd@btopenworld.com (Alex McDonald) (2006-10-03)
Re: C/C++ header file parser ppluzhnikov-nsp@charter.net (Paul Pluzhnikov) (2006-10-03)
Re: C/C++ header file parser tmk@netvision.net.il (Michael Tiomkin) (2006-10-03)
Re: C/C++ header file parser idbaxter@semdesigns.com (Ira Baxter) (2006-10-10)
| List of all articles for this month |

From: Pascal Bourguignon <pjb@informatimago.com>
Newsgroups: comp.compilers
Date: 3 Oct 2006 18:12:55 -0400
Organization: Informatimago
References: 06-09-169
Keywords: C++, parse

"Pankaj Garg" <lost_stranger@verizon.net> writes:


> I am sure this question is asked numerous times but searching the
> archives I couldn't find any answer that fits my needs so i am posting
> the question again.
>
> I need to parse C/C++ header files and extract information about data
> types, functions and function arguments. Which tools/libraries would
> be suitable for me? Are there any examples/sample programs for such.
>
> I don't want to build a full fledged yacc based parser so i am looking
> for a ready made parser, preferably open source.


gccxml, www.swig.org, ffigen, etc.


--
__Pascal Bourguignon__ http://www.informatimago.com/


"Logiciels libres : nourris au code source sans farine animale."


Post a followup to this message

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