in reply to Replacing builtin macro languages with perl -- how difficult?

As an example of a (very) non-trivial embedded Perl integration, the CodeWright IDE (now long discontinued) has embedded Perl as one of its extension languages. It works very well.

Embedding Perl is only slightly more work than creating an XS module. Most of the effort is "repackaging" the data being transferred between Perl and the "other language".

If you want to embed Perl, first learn how to make XS modules. Beyond learning about moving data between Perl and C (or other language), you might need to allow the called Perl routines to call routines provided by the host application.

  • Comment on Re: Replacing builtin macro languages with perl -- how difficult?