473,503 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

scanning c-code

tm
Hello,

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...

--
Torsten

Jul 18 '05 #1
3 1389
tm wrote:
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...


www.doxygen.org and graphviz (the latter is used by the former).
Mathias
Jul 18 '05 #2
"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 =---
Jul 18 '05 #3
"tm" <js*****@web.de> writes:
Hello,

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...


Simon Burton's cdecl.py:
<http://arrowtheory.com/software/python/index.html>

Thomas
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1815
by: Ajay | last post by:
hi! I am developing an application for a pocket pc. i have a small gui which allows users to select files using a file dialog box. however the file, selected is represented as '/My...
1
3566
by: S. David Rose | last post by:
Hello everyone. I am very much enjoying learning python. I am fiddling with a project that I've decided to use on the Win32 platform. I'd like to be able to scan a document as a graphic and save...
8
2434
by: Marie-Christine Bechara | last post by:
I have a form with a button called btnScan. When i click on this button i want to scan a file and save it in the database. Any hints?? ideas??? solutions??? *** Sent via Developersdex...
1
3192
by: Bruce D | last post by:
I'm researching a VB .NET project that will have two functions: 1 - scan images using TWAIN drivers of scanner 2 - read barcode of that scanned image I've been researching many companies and was...
1
1896
by: Curtis | last post by:
I am researching a project that involves controling a high speed document scanner. I am trying to find a .Net capable library to access the TWAIN drivers for the image scanners to automatate the...
1
2238
by: Mantorok | last post by:
Hi all Does anyone here have to use VS on a machine that has "on-access" virus scanning? We have Read/Write scanning turned on on our desktops and we're pretty sure that it is killing VS and...
6
3837
by: Bob Alston | last post by:
I am looking for others who have built systems to scan documents, index them and then make them accessible from an Access database. My environment is a nonprofit with about 20-25 case workers who...
3
1701
by: Tamer Ibrahim | last post by:
Hi, We have urgent client requirement for Web Browser based Image Scanning. Is it posiible through Web Browser? Please provide us any information related to it.
1
1587
by: Fine | last post by:
When any person enters any shop and buy some items then goes to where he pays the prices of his items, the person there make scanning to each item to know what's the price? I am asking how this is...
2
4303
by: iheartvba | last post by:
Hi Guys, I have been using EzTwain Pro to scan documents into my access program. It allows me to specify the location I want the Doc to go to. It also allows me to set the name of the document...
0
7093
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...
1
7008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.