At 16:55 2001-03-08 +0100, François LETELLIER wrote:
>Some of these modules are automatically-generated C source code. Like 70000
>lines of C !!!! I doubt I could seamlessly cut/paste that into an inline C
>file...
I use Inline::C++ to interface with existing C++ code. My solution is to
keep a small interface in the Inline Perl source, i.e. just small wrapper
functions. The "real" code is #included on the first line and is never a
part of the XS stuff. By doing that I can keep almost all of the source
files unchanged from the original source tree.
The fact that only the source text parsed by RecDescent is part of the
Perl<->otherlanguage interface is interesting and might be mentioned in the
docs.
/J
------ ---- --- -- -- -- - - - - -
Johan Lindström Boss Casinos
Sourcerer [EMAIL PROTECTED]
http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail