
Bob Jamison wrote:
I don't really like SWIG that much, and I have been considering rewriting the interpreter-embedding classes for Python and Perl manually instead. We would get clean code and no warnings.
Obviously that typecast is the problem, and I'll check in a fix. But if this requires a lot of fixing, then it would be more profitable to recode than to hack.
I made that change, but I also decided to give PyCxx a try. It is a Python/C++ binding tool that seems far superior for our needs than SWIG. I wish that the same existed for Javascript. There is a SpiderApe for Spidermonkey, but it is huge, and likely not worth the burden. PyCxx is tiny.
I started integrating it already. Can someone check that I adjusted the src/extension/script/Makefile_insert file correctly? Thanks.
bob