LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Visit our LabVIEW Wiki External Code Portal.


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Parsing C function calls - General Parser
Mike Ashe
post Dec 22 2004, 09:47 PM
Post #1


Instant Human, just add coffee
****

Premium Member
Posts: 889
Joined: 31-January 03
From: Waterford, CT USA
Member No.: 45
Using LabVIEW Since:1992
LV:8.2.1 ,7.1 ,8.0.1
United States us_connecticut us_washington


Hi everyone,
I am trying to parse a C function prototype. The end application is to be able to convert from C function prototypes in a header file to wrapper VIs with CALL LIBRARY nodes inside. I already have some of this done, but would like to have a better parser. My current attempts are rather primitive and I was wondering if someone might have a general parser already done up as part of a scripting effort from time gone by.

Thanks in advance,
Mike

PS: The final tool/utility will be posted here and also be made into an OpenG toolkit. This will be under the LGPL so anything you contribute would have to be acceptable under that license. Sorry. I guess this is a backwards way of kicking off a project and asking for helpers. I'll get a little more formal with this in a few days.

--------------------
*************************************************************
"Always listen to the experts, they'll tell you what can't be done, and why.
Then go do it."
~The Notebooks of Lazarus Long (by Robert Heinlein)
*************************************************************


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Dec 22 2004, 09:47 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post

Reply to this topicStart new topic

 




Time is now: 22nd November 2008 - 09:24 AM