in reply to Re: Re: Favorite Perl 6 feature?
in thread Favorite Perl 6 feature?

Regexps are already closures via the ??{ construct. You just can't jump back into regexp because the engine isn't re-entrant (though I hear it works a bit - I seem to fall over all the nasty bits). What I'm really pining for are:

And I want these not because they're cool but because at various points I could have made my own code simpler, more efficient or had some otherwise significant improvement.

Replies are listed 'Best First'.
Re: Re: Re: Re: Favorite Perl 6 feature?
by demerphq (Chancellor) on Apr 11, 2003 at 18:30 UTC

    Grammars for binary data (P::RD chokes)

    I guess preprocessing the input into strings of 1s and 0s isn't (?x: fast | efficient | good ) enough? (Should get around the choke no?)

    ;-)


    ---
    demerphq

    <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

      [Added Its been brought to my attention that the link doesn't work. It does but you have to change the "search in" select widget from "Modules" to "All". The CPAN librarian didn't think this was a good name for the module so the name didn't get registered and it can't be linked to easily. I may just rename it to "Xerox::Metacode::Reader" but I was trying to avoid having a company name as a root level category in CPAN. Oh well. If you've got an opinions regarding the module and its name I'm interested.]

      That didn't even occur to me. Oh well - that wouldn't have been fast enough anyway. The final results ended up in Metacode::Reader.