java [message #847547] |
Tue, 17 April 2012 08:15  |
Eclipse User |
|
|
|
I installed environment CDT (c / c + +) in eclipse because it was my idea.
So there I created a project containing c structures, enumerated type, functions.
what I want is to write Java code that will allow me to retrieve this information (structures, functions, enumeration) content in my c file and display them.
which package or which class to use for this? or could someone pass me a code all done?
I hope to be clear!
thank you!
|
|
|
Re: java [message #848846 is a reply to message #847547] |
Wed, 18 April 2012 12:23  |
Eclipse User |
|
|
|
On 04/17/2012 02:15 PM, steve frank wrote:
> I installed environment CDT (c / c + +) in eclipse because it was my idea.
>
> So there I created a project containing c structures, enumerated type,
> functions.
> what I want is to write Java code that will allow me to retrieve this
> information (structures, functions, enumeration) content in my c file
> and display them.
> which package or which class to use for this? or could someone pass me a
> code all done?
> I hope to be clear!
>
> thank you!
so you basically want a parser that can be called by Java. You should be
able to find something here:
http://java-source.net/open-source/parser-generators
I would suggest to ask in a more Java oriented group by the way. It's a
bit off topic here
|
|
|
Powered by
FUDForum. Page generated in 0.05523 seconds