Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Perl 6 regexes...

17 views
Skip to first unread message

Dan Sugalski

unread,
Aug 12, 2002, 12:41:05 AM8/12/02
to perl6-i...@perl.org
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
d...@sidhe.org have teddy bears and even
teddy bears get drunk

Sean O'Rourke

unread,
Aug 12, 2002, 1:01:36 AM8/12/02
to Dan Sugalski, perl6-i...@perl.org
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 ("::").

/s

Dan Sugalski

unread,
Aug 12, 2002, 3:00:27 AM8/12/02
to Sean O'Rourke, perl6-i...@perl.org
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.

Simon Cozens

unread,
Aug 12, 2002, 4:37:49 AM8/12/02
to perl6-i...@perl.org
d...@sidhe.org (Dan Sugalski) writes:
> 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?

I did *say* at YAPC that I wrote one before breakfast, but nobody believed
me. I'll put it in my CVS if people want a poke at it.

--
"Irrigation of the land with seawater desalinated by fusion power is ancient.
It's called 'rain'."
-- Michael McClary, in alt.fusion

0 new messages