SWIG (http://www.swig.org/) does some nice parsing and glue generation.
In particular, it has rather broader coverage of C++ than Inline::CPP
(templates, operators, etc).

Perl's Inline (http://www.perldoc.com/cpan/Inline.html) is sometimes
more convenient.  Particularly for small bits of code.  Glue generation,
compilation, caching, and linking, all happen automagically.  And it
facilitates run-time code generation.

So I wrote an Inline::SWIG
  http://www.vendian.org/mncharity/dir3/inline/swig/
SWIG's glue inside Inline's process support.

It's a kludge.  A concept demo.  But I've found it useful.

Like other Perl Inline modules, one should be able to use it from
Python via zope-perl (http://www.zope.org/Wikis/zope-perl/FrontPage).

Fyi,
Mitchell Charity

The related mailinglists are
  http://mailman.cs.uchicago.edu/pipermail/swig/
  http://archive.develooper.com/inline%40perl.org/

Reply via email to