Re: Operating on pairs, Was Re: Revised solution #2

2009-01-16 Thread Richard Hainsworth
Carl Mäsak wrote: Andy (): map? perl6 -e 'my $x = :a5; say $x.map( { .value / 10} ).fmt(%s)' Yes, sure. That'll print a tenth of the value of $x. The '.fmt(%s)' is a no-op in this case. // Carl Not entirely a no-op. Thus $perl6 my $x=:a5; say $x.map({.value/10}).fmt(the value

A Logo design for Rakudo Perl 6

2009-01-16 Thread Perl
Hello everyone, A few weeks ago, probably more than I want to admit (but here! See! My Notes! I've been up to something!), there was one of those, OMG! Perl is going to DIE! threads, somewhere and the, Well, do something about it call came out, and I sort of replied, well, alright and

Re: design of the Prelude (was Re: Rakudo leaving the Parrot nest)

2009-01-16 Thread Jonathan Scott Duff
On Thu, Jan 15, 2009 at 8:31 PM, Jon Lang datawea...@gmail.com wrote: Forgive my ignorance, but what is a Prelude? -- Jonathan Dataweaver Lang The stuff you load (and execute) to bootstrap the language into utility on each invocation. Usually it's written in terms of the language you're

Re: [perl #62334] problem accessing outside variables from a class definition in Rakudo

2009-01-16 Thread Patrick R. Michaud
On Wed, Jan 14, 2009 at 01:28:10AM -0800, Carl Mäsak wrote: masak rakudo: my $x = foo; class A { my $.y = $x } # bug? p6eval rakudo 35518: OUTPUT«Lexical '$x' not found␤ [...] There's a known problem that we can't yet do outer lexicals from things that look like BEGIN blocks (in Parrot terms --

[perl #62432] Rakudo segfault when passing/calling sub

2009-01-16 Thread via RT
# New Ticket Created by I Sop # Please include the string: [perl #62432] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62432 With r35615. Following script to perl6 segfaults: sub yum() { } sub callit(x) { x; }

Re: A Logo design for Rakudo Perl 6

2009-01-16 Thread Patrick R. Michaud
On Fri, Jan 16, 2009 at 03:45:48AM -0700, Perl wrote: Moritz was one of the first to guide it to the idea of making a logo for Rakudo Perl 6 - as there's nothing yet (really) available. I thought that would be a neat project and scratch some of my person itches. It would be a very neat

Re: A Logo design for Rakudo Perl 6

2009-01-16 Thread Guy Hulbert
On Fri, 2009-16-01 at 09:16 -0600, Patrick R. Michaud wrote: I agree fully about the need for a visual representation; as far as the name goes I'm hoping that people will think of Rakudo Perl in a manner to the way that we currently think of Strawberry Perl or Vanilla Perl. Huh?! ;) AFAIK.

Re: A Logo design for Rakudo Perl 6

2009-01-16 Thread jerry gay
On Fri, Jan 16, 2009 at 07:46, Guy Hulbert gwhulb...@eol.ca wrote: On Fri, 2009-16-01 at 09:16 -0600, Patrick R. Michaud wrote: I agree fully about the need for a visual representation; as far as the name goes I'm hoping that people will think of Rakudo Perl in a manner to the way that we

Re: A Logo design for Rakudo Perl 6

2009-01-16 Thread Richard Dice
Perl 6 is a language specification, tied to a test suite. It will have as many implementations as there are people / teams that wish to implement it. Pugs is a Haskell implementation-in-progress. Rakudo is an implementation-in-progress on top of the Parrot VM. One would expect a JPerl6 and an

Re: A Logo design for Rakudo Perl 6

2009-01-16 Thread Guy Hulbert
On Fri, 2009-16-01 at 07:53 -0800, jerry gay wrote: Yes, I know there is pugs but I thought that was a prototype. from http://perlcabal.org/syn/S01.html#Project_Plan: Thanks (also R Dice). I probably saw that but memory dulls with age. -- --gh

Re: [perl #62432] Rakudo segfault when passing/calling sub

2009-01-16 Thread Patrick R. Michaud
On Fri, Jan 16, 2009 at 01:43:11AM -0800, I Sop wrote: With r35615. Following script to perl6 segfaults: sub yum() { } sub callit(x) { x; } callit yum; This now responds with an appropriate exception: $ cat x.pl sub yum() { } sub callit(x) { x; } callit yum; $ ./parrot

Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-16 Thread Christoph Otto
Christoph Otto via RT wrote: I'm running into a snag trying to implement this. It turns out that many lines which use the PMC_x_val macros use them on different types of PMCs, especially parents and children (e.g. FixedPMCArray and ResizablePMCArray). There are also some instances where the

Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-16 Thread Allison Randal
Christoph Otto via RT wrote: I'm running into a snag trying to implement this. It turns out that many lines which use the PMC_x_val macros use them on different types of PMCs, especially parents and children (e.g. FixedPMCArray and ResizablePMCArray). There are also some instances where the

Re: [perl #41825] [BUG] morph vtable override not working in PIR

2009-01-16 Thread Allison Randal
Andrew Whitworth via RT wrote: Okay, I did some work on this last night, and here's the current status. 1) Modified the behavior of the morph PIR override so that it takes a string in trunk. We previously weren't able to override this method at all, so nobody is used to the old way at the PIR