Robin Houston writes:
: Interesting!
:
: I think you're imagining that it will be possible to define something
: like an EBNF grammar. Is that right? Will you be able to get a parse
: tree out, rather than just a flat list? (There's certainly an issue
: with my current implementation about what
Interesting!
I think you're imagining that it will be possible to define something
like an EBNF grammar. Is that right? Will you be able to get a parse
tree out, rather than just a flat list? (There's certainly an issue
with my current implementation about what to do with the strings
captured b
Robin Houston writes:
: Are there any plans to change the regex syntax for Perl 6?
That's what the next apocalypse is about.
: I ask because I've spent the last few days playing with PCRE,
: and I added a rather powerful extension to it as an experiment.
: Details at http://www.puffinry.freeserv
> If my proposal has a hidden agenda, it's that I want to show that
> you can get a lot of the power we want without actually having to
> embed arbitrary code.
In general, however, I think that embedding code in regexes is a *very*
good idea. Sure you can get a lot of power without it, but it is
Are there any plans to change the regex syntax for Perl 6?
I ask because I've spent the last few days playing with PCRE,
and I added a rather powerful extension to it as an experiment.
Details at http://www.puffinry.freeserve.co.uk/regex-extension.html
Named capture-blocks are *long* overdue as