Re: Kindly Help

2008-06-26 Thread Hans Aberg
On 26 Jun 2008, at 08:16, Mukesh Kaushal wrote: I will be highly grateful if you or anybody could help me in writing code or algorithm to do this so that in future I could make changes in the functionality according to my requirement. You might ask in the Usenet newsgroup comp.compilers.

Re: Kindly Help

2008-06-25 Thread Mukesh Kaushal
Satya Thanks for your reply. Actually we use Xmotif libraries to generate any GUI. For this we embed xmotif code in our C code. For your reference I am attaching a simple code so that you could get an idea how Xmotif code look like. ===

Re: Kindly Help

2008-06-25 Thread Satya
Do you require a full C parser to extract this stuff? sometimes such extraction might be possible only using a lexer (I don't know how Xmotif code looks like but I am guessing it's only C functions and data types). You could use something like CIL (http://manju.cs.berkeley.edu/cil/) to give you a p

Kindly Help

2008-06-25 Thread Mukesh Kaushal
Hi all I am using an Xmotif application. Code is written in C. Now I want to parse my C code so that I can extract all the xmotif related info from the code. So kindly suggest me how to parse my C source code for this. -- --- Regards Mukesh Kaushal __