Re: Perl6 grammar (take V)

2002-07-12 Thread Sean O'Rourke
It's time for my weekly post to this old thread. The grammar has grown enough to deserve more than one file, and is starting to change in new directions. For example, it's now Turing-complete, if you have a Parrot engine and a bit of spare time. Call it a primitive demo version of some of Perl

Re: %MY (was What's MY.line?)

2002-07-12 Thread Richard Clamp
On Thu, Jul 11, 2002 at 04:43:34PM -0400, Melvin Smith wrote: And side effects like I call you, you modify me invisibly seems more like taking dangerous drugs than programming. Yep, I warned you about calling that routine, now look what it did to your brains. Um, I shouldn't really

Re: What's MY.line?

2002-07-12 Thread Robert Spier
Chip Salzenberg writes: Ouch. I gather, then, that nntp.perl.org does not house complete list archives, or else the discussion was not on p6-language ... ? It should have complete archives. It uses the same backend data as the html version on archive.develooper.com.

Re: Perl6 grammar (take V)

2002-07-12 Thread Aaron Sherman
On Fri, 2002-07-12 at 02:33, Sean O'Rourke wrote: What's currently supported: - if/elsif/else (even unless and the feared elsunless;) When we talked about this last, I had been concerned about loops and conditionals, but others had scoping concerns. Ok, perhaps there's no way we can roll in

Re: Perl6 grammar (take V)

2002-07-12 Thread Thomas A. Boyer
Aaron Sherman wrote: An example: $pid = fork() // -1; if $pid 0 { # error ... } else unless $pid { # Parent } else if $pid 0 { # Child } else { # Huh? Can't happen } Of course, your indentation implies a different syntax than

Re: Perl6 grammar (take V)

2002-07-12 Thread Dan Sugalski
At 11:33 PM -0700 7/11/02, Sean O'Rourke wrote: It's time for my weekly post to this old thread. The grammar has grown enough to deserve more than one file, and is starting to change in new directions. For example, it's now Turing-complete, if you have a Parrot engine and a bit of spare time.