Simon Cozens writes:
> [EMAIL PROTECTED] (Austin Hastings) writes:
> > Frankly, I think I'd rather see:
>
> Some nits:
>
> > macro atexit($code) is parsed(/{ <Perl6.line>* }/) {
>
> Probably just
> macro atexit($code) is parsed(/<Perl6.block>/) {
>
> > $block .= $code;
> $block _= $code;
$block ~= $code;
Rather. :-)
> Dunno what .= would mean now . is method call. I'm sure someone will make it
> mean something. :)
>
> > eval($block) if defined $block;
>
> I prefer $block.compile.run to eval()
It'd might have to be, too, as $block isn't a string, it's a syntax tree
(but in string context, it might just turn into a decompiled -- or saved
-- form).
Luke