 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Fri May 18, 2007 9:11 am Post subject: c parser |
|
|
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
|
Posted: Sat May 19, 2007 9:11 am Post subject: Re: c parser |
|
|
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
|
Posted: Sat May 19, 2007 9:11 am Post subject: Re: c parser |
|
|
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 |
|
 |
|
|
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
|
|