What Dan says. If you're interested, there are at least three options:
- a fairly well-developed compiler for perl 5 regexes (languages/regex).
- a less well-developed compiler built into the prototype Perl 6 compiler
(languages/perl6)
- a set of regex ops in rx.ops, suitable for starting your own
implementation from scratch.
Since I'm working on #2, I'd of course most appreciate help on that ;).
It unfortunately relies on a couple of other miscellaneous enhancements
that haven't made it into CVS. If you're interested in taking a look
before it gets into CVS, email me and I'll send you the duct tape I'm
using to hold it together now.
/s
---------- Forwarded message ----------
Date: Mon, 12 Aug 2002 03:00:27 -0400
From: Dan Sugalski <[EMAIL PROTECTED]>
To: Sean O'Rourke <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Perl 6 regexes...
At 10:01 PM -0700 8/11/02, Sean O'Rourke wrote:
>Working on it. I've got greedy quantifiers (including <$n,$m>),
>interpolated arrays and scalars, enumerated character classes, code
>assertions, embedded blocks. It's all static, so runtime-compiled regexes
>aren't going in. Hypotheticals will be hard, but should be doable. Same
>with the various cut operators ("::").
Yow. Cool. Pop a note to perl6-language if you want, to see about
grabbing some folks to help out.
>On Mon, 12 Aug 2002, Dan Sugalski wrote:
>
>> Well, we've got a pretty good description of perl 6's regexes
>> courtesy of A5. Anyone care to take a shot at either modifying the
> > regex compiler to deal with them, or writing a perl 6 regex compiler?
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk