Perl grammar for Perl5 - Perl6

2005-12-08 Thread Peter Schwenn
Dear Perl6 Language, I am Perl user from near year 0. For me the easiest way to learn (, track, and get to the point of contributing to) Perl6 would be a Perl grammar (a regex rule set in, preferably, Perl6) that transforms any Perl5 script into a Perl6. Of couse, besides learning Perl6 for a

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Yuval Kogman
On Wed, Dec 07, 2005 at 16:48:11 -0500, Peter Schwenn wrote: Dear Perl6 Language, I am Perl user from near year 0. For me the easiest way to learn (, track, and get to the point of contributing to) Perl6 would be a Perl grammar (a regex rule set in, preferably, Perl6) that transforms any

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Ruud H.G. van Tol
Peter Schwenn schreef: Is there such a Perl5-Perl6 translator underway? http://dev.perl.org/perl6/ Perl6 FAQ -- Grtz, Ruud

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Christian Renz
Is there such a Perl5-Perl6 translator underway? I started toying with one, but didn't get very far yet. PPI (on CPAN) would be a good way to start, but it needs to be extended to be used as a Perl5-Perl 6 translator. Greetings, Christian -- [EMAIL PROTECTED] - http://christian.web42.com -

Clarification for External Regex Variables?

2005-12-08 Thread Brad Bowman
Hello, I'd like to get clarification on the scoping of variables bound in a regex. It's described in S05 as follows: External aliasing * Instead of using internal aliases like: m/ mv @files:=ident+ $dir:=ident / the name of an ordinary variable can be used as an external

Re: Clarification for External Regex Variables?

2005-12-08 Thread Larry Wall
On Thu, Dec 08, 2005 at 11:14:16PM +0100, Brad Bowman wrote: : Hello, : : I'd like to get clarification on the scoping of variables : bound in a regex. It's described in S05 as follows: : : External aliasing : : * Instead of using internal aliases like: : : m/ mv @files:=ident+

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Larry Wall
On Thu, Dec 08, 2005 at 11:51:52AM +0200, Yuval Kogman wrote: : On Wed, Dec 07, 2005 at 16:48:11 -0500, Peter Schwenn wrote: : Dear Perl6 Language, : : I am Perl user from near year 0. For me the easiest way to learn (, : track, and get to the point of contributing to) Perl6 would be a Perl

Re: the $! too global

2005-12-08 Thread Larry Wall
On Wed, Dec 07, 2005 at 09:43:31AM +0100, TSa wrote: : HaloO, : : Larry Wall wrote: : My gut-level feeling on this is that $! is going to end up being an : env variable like $_. : : I just re-read about exceptions. Well, I undestand now that $! is : intented as a variable with a spectrum of

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Uri Guttman
LW == Larry Wall [EMAIL PROTECTED] writes: LW And if I were Jewish I'd've said Oy vey many times over. :-) or if you were a lazy jewish perl6 hacker you would code: say Oy Vey! for 1 .. ; :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Rob Kinyon
As for the original question, I think that the Perl 6 grammar will be a much better example for how to parse other languages than a Perl 5 grammar would be, since one of the underlying design currents from the beginning has been that Perl 6 had to be a language that was amenable to parsing by

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Jonathan Scott Duff
On Thu, Dec 08, 2005 at 01:46:51PM -0500, Rob Kinyon wrote: As for the original question, I think that the Perl 6 grammar will be a much better example for how to parse other languages than a Perl 5 grammar would be, since one of the underlying design currents from the beginning has been

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Larry Wall
On Thu, Dec 08, 2005 at 01:46:51PM -0500, Rob Kinyon wrote: : As for the original question, I think that the Perl 6 grammar will : be a much better example for how to parse other languages than a : Perl 5 grammar would be, since one of the underlying design currents : from the beginning has

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Larry Wall
On Thu, Dec 08, 2005 at 01:10:14PM -0600, Jonathan Scott Duff wrote: : The same holds for parsing perl6 only the twisty maze isn't there (or is : at least much much smaller) Hmm. Maybe... Perl 5 is a twistly maze of passages all different. Perl 6 is a twistly maze of passages all

This week's summary

2005-12-08 Thread The Perl 6 Summarizer
The Perl 6 Summary for the week ending 2005-12-04 I heard a rumour on the London.pm mailing list week. Apparently the Perl 6 Summaries are no longer being published. As I'm sure you can imagine, it came as something of a surprise to me. This week has been all about Parrot, Leo's

Re: Modular versions and APIs

2005-12-08 Thread Larry Wall
It's probably not entirely clear in the spec, but it is already the intent that version numbers work as API designators as well as module designators. Certainly, as you speculate, if different authors want to share an API, they can give it an API author that knows how to delegate to one of the

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Scott Walters
Hi Peter, There are several source filters that make select changes and modules that give select Perl 6 features to Perl 5. All in all, there's a lot there -- I've written Perl6::Contexts, for example, which diddles the bytecode to give Perl 5 programs most of the new contexts from Perl 6. In

Some thoughts on threading

2005-12-08 Thread Ron Blaschke
Hi everyone, I am not a regular to this list but I'd like to induce some thoughts on threading. I'm not too much into the subject myself, but I've got some pointers, which I hope are of some use. Please ignore me if I am not making any sense here. Herb Sutter has an interesting article called

Re: [Phoenix-pm] Perl grammar for Perl5 - Perl6

2005-12-08 Thread Scott Walters
Oh, sorry... Larry Wall didn't actually to Phoenix-pm. At least not that I know of. This was a forward from me. Thought ya'll might find this interesting... on a Perl 5 level, in a Perl 6 sort of way, and also on the subject of software refactoring. -scott On 0, Larry Wall [EMAIL PROTECTED]