Perl 6 Summary for 2005-08-15 through 2005-08-22
All~
Welcome to another monday summary, which hopefully provides some
evidence that mondays can get better. It always feels like writing
summaries is an uphill battle, perhaps I should switch to writing about
Perl 6 Language firs
On Monday 22 August 2005 04:25 pm, Larry Wall wrote:
> On Tue, Aug 23, 2005 at 04:09:29AM +0800, Yiyi Hu wrote:
> [stuff]
> : Even if making scalar lazy might cause problem sometimes, Is it
> : possible to add a property which is like
> : my $var is lazy; to handle these situation?
>
> In Perl 6 yo
On Tue, Aug 23, 2005 at 04:09:29AM +0800, Yiyi Hu wrote:
: my( $s, $t ); $s = "value t is $t"; $t = "xyz"; print $s;
: in perl 5, it will give a warning, and won't do "right" thing.
: we have to use other way or eval '$s' before print to get a "correct" answer.
:
: So I wonder, If we can make $sca
On 8/22/05, Yiyi Hu <[EMAIL PROTECTED]> wrote:
> my( $s, $t ); $s = "value t is $t"; $t = "xyz"; print $s;
I have an answer for you that is much more detailed than what you want
to hear. The short answer is "yes".
This is possible to implement, provided you appropriately declare $t.
It all depe
Following on our discussion on IRC, what I think we agreed on was that
Parrot should provide a new PMC class functionally similar to how the
dod_register_pmc/dod_unregister_pmc works. Quite probably it can share
implementation code with the DOD registration system.
My assumption was that if parrot
Hi,
Yiyi Hu wrote:
> my( $s, $t ); $s = "value t is $t"; $t = "xyz"; print $s;
> in perl 5, it will give a warning, and won't do "right" thing.
> we have to use other way or eval '$s' before print to get a "correct"
> answer.
>
> So I wonder, If we can make $scalar lazy also. As array now is lazy
On Mon, Aug 22, 2005 at 10:51:53PM +0200, Ingo Blechschmidt wrote:
: If we go with these changes, this functionality (starting place for a
: search) would be available by using
:
: Foo::Bar<$symbol_to_lookup>; # right?
Presumably, though Foo::Bar differs from OUTER in that, for packages,
th
On Mon, Aug 22, 2005 at 20:35:40 +, Ingo Blechschmidt wrote:
> Hi,
>
> on #perl6, we were wondering how to use() modules from foreign
> languages which have an incompatible identifier syntax. E.g.:
>
> use perl5:Foo::Bar; # fine, no problem
>
> # Load JavaScript modules fr
Hi,
Larry Wall wrote:
> On Sat, Aug 20, 2005 at 10:33:03PM +, Ingo Blechschmidt wrote:
> : S02 says:
> : our $a; say $::("a"); # works
> :
> : my $a; say $::("a"); # dies, you should use:
> : my $a; say $::("MY::a"); # works
>
> That looks like somebody's relic of Perl
Hi,
on #perl6, we were wondering how to use() modules from foreign
languages which have an incompatible identifier syntax. E.g.:
use perl5:Foo::Bar; # fine, no problem
# Load JavaScript modules from JSAN
use jsan:Test.Simple; # should we simply accept the dot, or...
my( $s, $t ); $s = "value t is $t"; $t = "xyz"; print $s;
in perl 5, it will give a warning, and won't do "right" thing.
we have to use other way or eval '$s' before print to get a "correct" answer.
So I wonder, If we can make $scalar lazy also. As array now is lazy by default.
Even if making sca
On Mon, Aug 22, 2005 at 09:54:36 -0700, Larry Wall wrote:
> That's not a problem as long as you keep your positionals together.
Oh, I assumed the it's
/(* *)|(* *)/,
not
/* * */
> : If there is some really odd code signature which takes in a mess, I
> : may want to intermix pos
On Mon, Aug 22, 2005 at 10:51:25AM -0600, Eric wrote:
: Just my two cents then back to lurking. The idea of having named parameters
: with different names than the variables ++. Otherwise your public API is
: dependent on private variables which is a Bad Thing and the only thing that
: realy bug
On Fri, Aug 19, 2005 at 06:42:04PM +0300, Yuval Kogman wrote:
: On Fri, Aug 19, 2005 at 08:27:38 -0700, Larry Wall wrote:
:
: > Plus I still think it's a really bad idea to allow intermixing of
: > positionals and named. We could allow named at the beginning or end
: > but still keep a constraint
Just my two cents then back to lurking. The idea of having named parameters
with different names than the variables ++. Otherwise your public API is
dependent on private variables which is a Bad Thing and the only thing that
realy bugged me about current named parameters in P6.
BTW why is it th
On 8/22/05, Larry Wall <[EMAIL PROTECTED]> wrote:
> I think the simplest thing is to say that you can't bind to the name
> of the slurpy hash. You give a name to it so that you can refer to it
> inside, but that name is not visible to binding.
Fixed in https://svn.perl.org/perl6/doc. Thanks.
Lu
Nicolas Cannasse <[EMAIL PROTECTED]> wrote:
> Also, I don't like the fact that the whole standard library is inside the
> bytecode language (having IO opcodes does not really make sense for me).
These opcodes will be removed and replaced by library functions.
> Thanks,
> Nicolas
leo
On Mon, Aug 22, 2005 at 06:05:06PM +0800, Yiyi Hu wrote:
: svnbot6 r6401 | iblech++ | *%slurpy_hashes exist :)
: svnbot6 r6401 | iblech++ | It uses the semantics of
: svnbot6 r6401 | iblech++ |
: http://www.nntp.perl.org/group/perl.perl6.language/22860, i.e.
: svnbot6 r6401 | iblech++ | s
Klaas-Jan Stol wrote:
hi,
I'm currently trying to check out the NCI. As my Lua compiler only uses
PMCs (and not I/N/S registers), calling C functions will only be done
with PMCs.
I couldn't find info on this matter: suppose I have this string PMC, how
can I access the actual string in it?
hi,
I'm currently trying to check out the NCI. As my Lua compiler only uses
PMCs (and not I/N/S registers), calling C functions will only be done
with PMCs.
I couldn't find info on this matter: suppose I have this string PMC, how
can I access the actual string in it?
so, when calling:
voi
Nicolas Cannasse wrote:
Even with such problems, I was thinking that Parrot JIT will be faster than
NekoVM which does not have a JIT yet.
The fib benchmark is mainly function calls only. JIT doesn't really help
here. We will optimize function call performance later.
I don't run sources fro
We're missing the attachment for the test file. Can you resend?
To add a file to the dependencies for the makefile, add it to 'config/
gen/makefiles/tcl.in'
To add a file to the repository, add it to 'MANIFEST'
I'll be happy to apply as soon as I get these other items. Thanks!
On Aug 21, 200
svnbot6 r6401 | iblech++ | *%slurpy_hashes exist :)
svnbot6 r6401 | iblech++ | It uses the semantics of
svnbot6 r6401 | iblech++ |
http://www.nntp.perl.org/group/perl.perl6.language/22860, i.e.
svnbot6 r6401 | iblech++ | sub foo (*%hash) {...}, foo(hash =>
{...}); # works
svnbot6
> > Or am I missing something about the way Parrot is handling integer
> > values ?
>
> fib is one of the few benchmarks that currently performs very badly due
> to huge function call overhead (mainly L2 cache misses). I'm currently
> working on a different call scheme, which eventually gets rid of
# New Ticket Created by "Amos Robinson"
# Please include the string: [perl #36971]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36971 >
Hi all. Here's an implementation of parray.
I had to add a file, languages/tcl/t/cmd
25 matches
Mail list logo