C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

c parser

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C Language (Moderated)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri May 18, 2007 9:11 am    Post subject: c parser Reply with quote



hi,

i need a program that scans/parses c files and generates a tree or
some data structure that i could later refer and run a set of rules to
verify the code being parsed.


thanks,
bharat
--
comp.lang.c.moderated - moderation address: clcm (AT) plethora (DOT) net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.
Back to top
Barry Schwarz
Guest





PostPosted: Sat May 19, 2007 9:11 am    Post subject: Re: c parser Reply with quote



On 18 May 2007 06:03:42 GMT, bharat.chaudhary.79 (AT) gmail (DOT) com wrote:

Quote:
hi,

i need a program that scans/parses c files and generates a tree or
some data structure that i could later refer and run a set of rules to
verify the code being parsed.

Check your compiler documentation. If it doesn't do what you want,
try google. You might have better luck asking on one of the compiler
writing newsgroups.


Remove del for email
--
comp.lang.c.moderated - moderation address: clcm (AT) plethora (DOT) net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.
Back to top
Douglas A. Gwyn
Guest





PostPosted: Sat May 19, 2007 9:11 am    Post subject: Re: c parser Reply with quote



bharat.chaudhary.79 (AT) gmail (DOT) com wrote:
Quote:
i need a program that scans/parses c files and generates a tree or
some data structure that i could later refer and run a set of rules to
verify the code being parsed.

There is no "canned" solution for this.
For a similar project, we used GCC v4's dump-tree options.
The LLVM compiler infrastructure project may be better
suited to your requirements.
--
comp.lang.c.moderated - moderation address: clcm (AT) plethora (DOT) net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.