On Thu, Sep 08, 2016 at 11:54:50AM -0700, Zoffix Znet via RT wrote:
> I'm unable to reproduce this on HEAD Rakudo even with $n set to 40 and
> RAKUDO_MAX_THREADS set to 50.
thanks, I wasn't aware of that env, makes reproducing these much easier
:)
> What is your perl6 version (perl6 -v). Are yo
Fixed in https://github.com/rakudo/rakudo/commit/2287173ef2
Tests unfudged in https://github.com/perl6/roast/commit/addcec6732
Thanks for the report.
Fixed in NQP: https://github.com/perl6/nqp/commit/32fd43da48
Fixed in Rakudo: https://github.com/rakudo/rakudo/commit/87f772ee53
Tests added in https://github.com/perl6/roast/commit/9650cd258f
On Sun Jul 31 08:06:08 2016, gfldex wrote:
> m: say Q ⸨oi!⸩
> # OUTPUT«===SORRY!
On Wednesday, 7 September 2016 17:57:32 PDT Parrot Raiser wrote:
> This isn't a request for a feature, merely a thought experiment. We're
> still in the phase where it's more important to ensure that existing
> features work properly than add new ones.
>
> How difficult would it be to include a me
Wait, quotes *are an operator* ? If so how would I define them? If the
operator returns string, what is the type of its argument? If so that's
even stranger -- most languages they're a hard coded bit of syntax -- the
closest thing I can think of is in C++11 you can add your own string
literal types
Quotes are almost a circumfix operator, but they act a bit more like a
macro by controlling the parsing of the contents. But you can do some weird
things like define your own quote-likes.
perl6 -e ' sub circumfix:<>($v) { "{$v}" } ; say B"foo"B ' #
output: foo
or more verbosely
perl6 -e ' sub ci
You cannot currently define your own quote-like operators. That will come
with true macros (though you could certainly do it via a slang...
everything is possible with a slang). But they are operators. Not only are
they operators, but they nest other operators. vis:
say "These are my args: {@*ARGS