"tm" <js*****@web.de> wrote in message
news:bt**********@piggy.rz.tu-ilmenau.de...
I have to to scan c-code, look for a c-struct variable(declaration) and
represent the struct in a tree-graphic.
Are there modules for scanning c-code and graphictools for the
representation stuff.
What would you advise as a starting point...
I wouldn't specifically recommend python for this.
This is really a job for a parsing engine.
(To the extent that python has good parsing
tools and good C definitions, it might be an OK answer.)
Getting parsing tools in python is likely possible.
Getting a good C definition, however, is harder.
You might consider an engine designed to parse
languages that has a good C definition.
GNU C is one example.
Another is
http://www.semanticdesigns.com/Produ...CFrontEnd.html
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc.
www.semdesigns.com
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---