473,385 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to get list of global data and function definition.

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
Nov 23 '07 #1
2 1567
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
Nov 23 '07 #2
numberwhun
3,509 Expert Mod 2GB
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
Nov 23 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Andr? Roberge | last post by:
I have the following two files: #--testexec.py-- def exec_code(co): try: exec co except: print "error" #-- test.py--
2
by: Tony Johansson | last post by:
Hello! I'm reading a book about C++ and there is something that I don't understand so I ask you. Below I have the text from the book and the code from the file where main is located and some...
57
by: Xarky | last post by:
Hi, I am writing a linked list in the following way. struct list { struct list *next; char *mybuff; };
13
by: Sunil | last post by:
Hi all, I want to know how good or bad it is using global variables i.e advantages and disadvantages of using global variables. Sunil.
5
by: WJ | last post by:
I am attempting to use the Global.Asax to store my user's configuration. Here is the concept: 1. User logs on into the site using Form Authentication. 2. I capture the user Credential, verify it...
2
by: Lysander | last post by:
I have not seen this feature documented before, so I thought I would share it with you, as I will be using it in a later article. For a combo or list box, the source data is normally a...
3
by: abuamit | last post by:
Hello Everybody, i want list of global data and function definition from a C source code( ie source code contain multiple C files) Thanks abuamit
112
by: istillshine | last post by:
When I control if I print messages, I usually use a global variable "int silent". When I set "-silent" flag in my command line parameters, I set silent = 1 in my main.c. I have many functions...
3
by: kingparthi | last post by:
This is a program to add, display & delete an item from the double linked list ... Here the add & display works correctly... where my delete is having some problem, when ever I delete an item, it...
2
by: =?windows-1252?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
Is there any way to tell PHP predefined variables ($GLOBALS, $argv, $argc, $_GET, $_POST…) from *global* user-defined variables? Neither $GLOBALS nor get_defined_vars() put user data apart. I’m...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.