[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Perl Shared Library (was Re: [MacPerl] ports and builds)



At 10.41 -0500 1999.01.18, Matthew Langford wrote:
>On Mon, 18 Jan 1999, Erik Ableson wrote:
>
>> Now that would be an awesome tool - I'd love to be able to use CodeWarrior
>> to design my applications and UI with the ability to call Perl routines to
>> handle a pile of my data munging as it's so much faster and easier than
>> doing the same task in C (or pascal or basic or fortran...).
>
>I've been thinking about how cool it would be to have just the Perl regexp
>string search in a C/C++ library.  I'd like to do /^([^"])/$1 yeah/ using
>any syntax that works on C and Pascal strings.  This would make string
>handling in those language SO much easier!

The general way to do that is to embed libperl.  You could also just use
the perl source and write your own C regex library.  Someone might have
even done that already.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch