On 2/20/2004 5:52 AM, Nick Ing-Simmons wrote:

Simon Wistow <[EMAIL PROTECTED]> writes:

and after that adding all the functions was laughably simple to the point where I'm thinking of just writign a script that will rampage though and generate the XS for me.


I have one which I must try and shake loose from day job.
It runs g++ -E and though output for C++ public API of class(es)
and builds a perl shadow class heirachy that matches the C++ public API.

Have you considered <http://www.gccxml.org/>? I don't know that much about it myself. I've just heard it mentioned here and there. It might be usefull for something like this.


I'd be happy to write up some faqs or a Perl.com article on what I did,
especially since I was simultaneously wrapping the same library in
Python and Lua.


Mine does perl and has beginings of Java.



FWIW I was also used Module::Build rather and ExtUtils::MakeMaker


Well worth an article then!

Yeah, I think a article would be great. Like I said before, there really is not much on the subject, so an article/tutorial would be of great use.


Randy.




Reply via email to