Re: Inline code (was: Closure/block/sub multiplier)

2005-04-20 Thread Luke Palmer
Juerd writes: > It'd be fun to have a different spelling for comma (here I assume that > leading comma is ignored and that because of the special new leading > keyword, non-slurpy can come after slurpy), for example: > > multi eval ($code, "using" ?$lang) { eval($code, :lang($lang)) } > ev

Re: Inline code (was: Closure/block/sub multiplier)

2005-04-20 Thread Juerd
Autrijus Tang skribis 2005-04-21 5:31 (+0800): > Bringing the topic back to perl6-language, I'd like to inquire > how eval and inlining other languages works. Here's some thoughts: > eval('printf("Hello!")', :language); Is that comma needed? > eval(:C('printf("Hello!")')); Strange use

Re: Inline code (was: Closure/block/sub multiplier)

2005-04-20 Thread Larry Wall
On Thu, Apr 21, 2005 at 05:31:05AM +0800, Autrijus Tang wrote: : Bringing the topic back to perl6-language, I'd like to inquire : how eval and inlining other languages works. Here's some thoughts: : : eval('printf("Hello!")', :language); : eval(:C('printf("Hello!")')); : : inline C =

Inline code (was: Closure/block/sub multiplier)

2005-04-20 Thread Autrijus Tang
On Wed, Apr 20, 2005 at 04:50:38PM -0400, Matt Creenan wrote: > To expand on this... > > How will you be able to access shared libraries with native code, such as > DLLs on windows? Is there a way to do this proposed for Perl6 yet? If > so, is it possible in PUGS? It is possible in Pugs's H