Parrot Bug Summary

2009-05-25 Thread Parrot Bug Summary
Parrot Bug Summary http://rt.perl.org/rt3/NoAuth/parrot/Overview.html Generated at Mon May 25 13:00:01 2009 GMT --- * Numbers * New Issues * Overview of Open Issues * Ticket Status By Version * Requestors with m

Re: Array variables as formal parameters ???

2009-05-25 Thread TSa
HaloO, John M. Dlugosz wrote: I'm assuming that the container defines what item assignment means. At the very least, it will have the STORE method. But I want to have infix:<=> definable in general without having to make it masquerade as an Item Container. I strongly agree with that. It sh

Question for Larry

2009-05-25 Thread John M. Dlugosz
Can you tell me if I'm missing something fundamental here? Regarding "item containers" ... my @A = (1, 2, 3); my $x; # default to "is Scalar" $x = @A; Now $x is BOUND TO an item container of type Scalar, which CONTAINS an Array which itself CONTAINS 3 items of type Int. @A is BOUND

Re: Array variables as formal parameters ???

2009-05-25 Thread TSa
HaloO, John M. Dlugosz wrote: Now back to straightening out my misconceptions about scalars _always_ holding item containers. If $x is bound to an Array, for example, the compiled code can't be doing the indirection innately. So it follows that the method forwarding is a property of the obje

Re: Question for Larry

2009-05-25 Thread Daniel Ruoso
Em Seg, 2009-05-25 às 11:36 -0500, John M. Dlugosz escreveu: > Can you tell me if I'm missing something fundamental here? While I'm not larry, I think I can help you out here ;) > Regarding "item containers" ... > my @A = (1, 2, 3); > my $x; # default to "is Scalar" > $x = @A; '$x'

Re: Meditations on a Loop

2009-05-25 Thread yary
That's an enjoyable and educational read, thanks! There's one form under TMTOWTDI that I'd like to see, but can't figure out myself. It's the version analogous to this perl5 snippet- sub odd {$_ % 2} say grep odd,0..6; -where the line that filters the list mentions no variables at all, and "

r26933 - docs/Perl6/Spec

2009-05-25 Thread pugs-commits
Author: moritz Date: 2009-05-25 21:49:59 +0200 (Mon, 25 May 2009) New Revision: 26933 Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] maybe a newline after the BOM unconfuses the POD parser? Modified: docs/Perl6/Spec/S03-operators.pod ===

Idea: Literate programing

2009-05-25 Thread Daniel Carrera
Hello, I really like POD and I like the changes in the upcoming Perl 6 Pod. Have you ever heard of literate programing? (see Wikipedia). I think it would be neat if Pod could do literate programing. It is already very close. For reference, please see this article: For reference, please see

Re: Idea: Literate programing

2009-05-25 Thread Carl Mäsak
Daniel (>): > [...] > > In this way, a relatively simple change makes Perl 6 Pod able to do literate > programing for anyone who is interested. > > What do you think? That it sounds like a good idea for a sublanguage-extending module. // Carl

Re: Idea: Literate programing

2009-05-25 Thread Daniel Carrera
Carl Mäsak wrote: In this way, a relatively simple change makes Perl 6 Pod able to do literate programing for anyone who is interested. What do you think? That it sounds like a good idea for a sublanguage-extending module. I'm not familiar with those. Are they hard to make? I guess that it i

Re: Question for Larry

2009-05-25 Thread John M. Dlugosz
Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote: A few facts: * A Scalar in item context returns its value; * The dotty operator implies item context; * A list in item context returns itself; Thanks. Exactly. but it would probably be more clear to state that "the name '$x' in the lexpad

Re: Idea: Literate programing

2009-05-25 Thread Jon Lang
On Mon, May 25, 2009 at 2:13 PM, Daniel Carrera wrote: > In this way, a relatively simple change makes Perl 6 Pod able to do literate > programing for anyone who is interested. > > What do you think? The main literate programming feature that's missing from POD is the ability to scramble the orde

Re: Idea: Literate programing

2009-05-25 Thread John M. Dlugosz
I think the equivalent of tangle/weave would take docs designed for literate reading and produce the runable file. Perl doesn't have to execute it directly. But that can be automated using a source filter. Daniel Carrera daniel.carrera-at-theingots.org |Perl 6| wrote: Hello, I really like P

Re: Temporal

2009-05-25 Thread Dave Rolsky
On Sat, 2 May 2009, Timothy S. Nelson wrote: Hi. Can someone (Dave Rolsky?) please tell me why rewriting S32/Temporal in terms of Enum roles would be bad? See the example of Enum day roles here: http://www.rakudo.org/node/39 Because day and month names are hardly universal, and forcing p

r26937 - docs/Perl6/Spec

2009-05-25 Thread pugs-commits
Author: jdlugosz Date: 2009-05-26 01:55:20 +0200 (Tue, 26 May 2009) New Revision: 26937 Modified: docs/Perl6/Spec/S04-control.pod Log: [s04] put in C<...> tags, fix some <...> that have the C missing, typos, true=>True, etc. Improve one turn-of-the-phrase as discussed with Larry in July. Mo

Re: Temporal

2009-05-25 Thread Timothy S. Nelson
On Mon, 25 May 2009, Dave Rolsky wrote: On Sat, 2 May 2009, Timothy S. Nelson wrote: Hi. Can someone (Dave Rolsky?) please tell me why rewriting S32/Temporal in terms of Enum roles would be bad? See the example of Enum day roles here: http://www.rakudo.org/node/39 Because day and month

Re: Idea: Literate programing

2009-05-25 Thread Timothy S. Nelson
On Tue, 26 May 2009, Daniel Carrera wrote: Carl Mäsak wrote: In this way, a relatively simple change makes Perl 6 Pod able to do literate programing for anyone who is interested. What do you think? That it sounds like a good idea for a sublanguage-extending module. I'm not familiar with t

r26938 - docs/Perl6/Spec

2009-05-25 Thread pugs-commits
Author: jdlugosz Date: 2009-05-26 02:14:51 +0200 (Tue, 26 May 2009) New Revision: 26938 Modified: docs/Perl6/Spec/S04-control.pod Log: [S04] update code under "do-once loop" in line with current specs. Move a paragraph that was interfering with the antecedent of the following paragraph. Modif