Parsing c-code

T

tm

Hello,

are there recommended modules for parsing c-code.
I want to read in c-structs and display it in a tree graphic.
 
M

Michael Hudson

tm said:
are there recommended modules for parsing c-code.

I think the most sane way is to use gccxml (google for it) and parse
the output of that. This still leaves you with quite a lot of work to
do, but is probably less terrifying (caveat: I haven't done this
myself).

Cheers,
mwh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,175
Messages
2,570,944
Members
47,491
Latest member
mohitk

Latest Threads

Top