Connecting Tech Pros Worldwide Forums | Help | Site Map

How to get list of global data and function definition.

Newbie
 
Join Date: Sep 2007
Posts: 7
#1: Nov 23 '07
Which language is efficient and easy to create cparser?
Currently I am working on cparser developed using perl, the parser link is given below,
http://search.cpan.org/src/DCONWAY/Parse-RecDescent-v1.95.1/demo/demo_another_Cgrammar.pl

This parser is too much slow for big C files.

So let me know any useful ideas using which I can start working on c parser.


Thanks.
abuamit



Newbie
 
Join Date: Sep 2007
Posts: 7
#2: Nov 23 '07

re: How to get list of global data and function definition.


Hello friends,

I am new to this module and searching for the document which will help me learning this module , but unable to find good documentation for this module.

So if any body worked on parse::yapp module let me know the site where i can find complete documentation.

i want to parse c file using this module to get global data and function name.



Regards
Abuamit
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,571
#3: Nov 23 '07

re: How to get list of global data and function definition.


Quote:

Originally Posted by abuamit

Hello friends,

I am new to this module and searching for the document which will help me learning this module , but unable to find good documentation for this module.

So if any body worked on parse::yapp module let me know the site where i can find complete documentation.

i want to parse c file using this module to get global data and function name.



Regards
Abuamit

Why is it you say that there is no good documentation for this module when the CPAN page is very well documented by the modules author. You should really "read" the module documentation in order to learn how to use it.

Also, this is pretty much the same question you were asking in your LAST post, regarding parsing C, only slightly re-worded. The link you provided in the other posting is THE SAME MODULE as the title of this thread.

That said, I am merging these two thread. Please DO NOT double post your questions, even if you did change the title and the wording slightly.

Regards,

Jeff
Reply