Re: How to speed up a grammar

2009-06-06 Thread Minimiscience
the grammar engine to check whether it can omit the ending of each tag and attach it to the enclosing tag instead, which it can't confirm without examining the whole file at least once for each tag. -- Minimiscience

Re: RPN calculator in Perl 6

2009-06-06 Thread Minimiscience
of .pop, $rs is now acquired before $ls.) At least, I think that's how it works. -- Minimiscience

take-ing to-be-modified variables

2009-07-21 Thread Minimiscience
, or is that too much to hope for? #!/usr/bin/env perl6 use v6; my @stuff = gather { my @things; for ^23 { @things.push: $_; if @things == 5 { take @things; @things = (); } } } say @stuff.perl; __END__ -- Minimiscience