comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Parsing C -> Generating DLL/DLM
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Parsing C -> Generating DLL/DLM [message #56012] Wed, 26 September 2007 07:22 Go to next message
Thomas Doering is currently offline  Thomas Doering
Messages: 3
Registered: September 2007
Junior Member
Hey folks,

some months ago I started this little project. The task was (and is):

Parse a c-header for class and function declarations and generate a
cpp-code and a dlm file. One should be able to compile the cpp
instantly as DLL and use it in combination with the DLM as IDL-
Interface for the declared classes and functions.

Well, a beta of the actual development state can be found here (http://
www.doering-thomas.de/page.php?seite=1&sub=6&lang=de ) under
"genICET" ("generate Idl C Export Template").

This should parse header files, list every function or class
definition and generates the cpp and dlm source. (Simple) Sample is
included.

I hope it is usefull. For me it is ;-)

Note: The used C(++)-Parser is selfmade and, lets say, VERY ...
"simple". Which means: Could be VERY buggy. If anyone can provide a
better alternative (which is easy to handle, since I'm not quite a C(+
+)-expert) please let me know.

Greetings from Germany,
Thomas.
Re: Parsing C -> Generating DLL/DLM [message #56055 is a reply to message #56012] Fri, 28 September 2007 00:08 Go to previous message
Thomas Doering is currently offline  Thomas Doering
Messages: 3
Registered: September 2007
Junior Member
Hey,

at the first glance, swig seems to be promising.

As I said. The tool already works... and fine for me. Peronally I
don't have any problems with the parser, but this may be due to my own
programming style.

It would be great if someone could give any feedback on this. I know,
there's a lot of work to do. And it would be great if I knew what
work ;-)

Greetings,
Thomas.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: BMP to cursor bitmap
Next Topic: (a-b, b-c, c-d, d-e,...)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:36:23 PDT 2025

Total time taken to generate the page: 0.96051 seconds