Re: C parser

"Rajaram" <rajaram@acmet.com>
4 Aug 2004 02:43:20 -0400

          From comp.compilers

Related articles
C parser sid@claudius.ics.uci.edu (Siddharth Choudhuri) (2004-07-28)
Re: C parser rajaram@acmet.com (Rajaram) (2004-08-04)
Re: C parser jacob@jacob.remcomp.fr (jacob navia) (2004-08-04)
Re: C parser danwang74@gmail.com (Daniel C. Wang) (2004-08-04)
Re: C parser tmk@netvision.net.il (2004-08-05)
C parser skyanhf@yahoo.com.cn (=?gb2312?q?sky=20yan?=) (2004-08-05)
Re: C parser codeworker@free.fr (2004-08-10)
Re: C parser sid@igor.ics.uci.edu (Siddharth Choudhuri) (2004-08-11)
[3 later articles]
| List of all articles for this month |
From: "Rajaram" <rajaram@acmet.com>
Newsgroups: comp.compilers
Date: 4 Aug 2004 02:43:20 -0400
Organization: Compilers Central
References: 04-07-079
Keywords: C, tools
Posted-Date: 04 Aug 2004 02:43:20 EDT

Hi


> I am looking for a C parser that can generate a list of all variable
> names, their type (int, char...) and scope (auto, static, ...) by reading
> a C source file.


I think your requirement is a source analyzer. There are many source
analyzers available in the net.
Checkout UnderstandC++ from www.scitools.com


> Also, is there any way to generate this information using an option to the
> compiler (say, using gcc) ?


Do they ??


RERA



Post a followup to this message

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