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 r

Re: load_bytecode no longer loads PBCs from the CWD

2005-12-08 Thread Leopold Toetsch
On Dec 8, 2005, at 3:13, Bob Rogers wrote: The change below means that the following code no longer works for loading non-Parrot compiled libraries from the current directory: load_bytecode "structures.pbc" Works here w/o problems. The only issue was that it didn't fail for a mis

Re: Mac OS X Build Errors (0.4.0)

2005-12-08 Thread Leopold Toetsch
On Dec 8, 2005, at 6:57, Brent Fulgham wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In addition to the shootout machine, I have a main development box that runs Mac OS X (PowerPC). I attempted to build Parrot 0.4.0 on this machine and encountered errors. The mailing list archive se

Re: Parrot Shootout

2005-12-08 Thread Roger Browne
Brent Fulgham wrote: > ... I have > updated the shootout build machine with parrot (0.3.1) and can start > running tests if any exist. A few weeks ago I wrote Brent's "Ackermann" benchmark in Amber for Parrot. Ackermann is a heavily recursive benchmark. Brent reports benchmarks for Ack(3, 7),

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 an

Re: Parrot Shootout

2005-12-08 Thread Leopold Toetsch
On Dec 8, 2005, at 10:40, Roger Browne wrote: The recursion limit of 1000 is assigned in inter_create.c and seems somewhat arbitrary. Is it likely to be raised in the future? No. But you can raise it in the code ;-) $P0 = getinterp $P0."recursion_limit"(1) Regards, Roger Browne

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 @:=+ $:= / the name of an ordinary variable can be used as an "external alias", like

Re: PGE::Text::bracketed added to PGE

2005-12-08 Thread Patrick R. Michaud
On Wed, Dec 07, 2005 at 05:34:50PM -0600, Patrick R. Michaud wrote: > On Wed, Dec 07, 2005 at 03:17:10PM -0800, Allison Randal wrote: > > Shouldn't it contain C? That is, shouldn't it > > remove the bracketing characters? Or at least hold the string without > > the brackets somewhere within the

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 @:=+ $:= / : :

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 Pe

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 m

Re: parrot directory reorganization (phase 1 complete)

2005-12-08 Thread jerry gay
the first phase of the directory reorganization is complete. all directory moves which do not involve the src/ directory are done. hope this clears things up a bit. next, i'll be addressing src/ dirs. if you'll recall from recent discussion... On 11/29/05, jerry gay <[EMAIL PROTECTED]> wrote: > On

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.stemsyst

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 parsin

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

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 alike.

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

[perl #37865] [PATCH t/perl/Parrot_IO.t] Fix Failing Test #23

2005-12-08 Thread via RT
# New Ticket Created by chromatic # Please include the string: [perl #37865] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37865 > Hi there, I believe a recent change in File::Spec broke test #23 in t/perl/Parrot_IO.t.

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 go

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 a

Re: Parrot Shootout

2005-12-08 Thread Roger Browne
Leo suggested: > $P0."recursion_limit"(1) As it happens, a recursion limit of 1 is enough to complete the Ackermann benchmark. > Optimized build? Which runcore? Currently parrot -C may perform fastest. With Parrot 0.4.0, no optimizations, default runcore, Ack(3, 9) takes 233 seconds

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]> w

Re: parrot directory reorganization (phase 1 complete)

2005-12-08 Thread Leopold Toetsch
On Dec 8, 2005, at 18:54, jerry gay wrote: chip proposed changing the src/ dir to vm/. nobody complained, I have said several times that I don't see any reasons to rename src. There is no benefit at all. And src/ is quite common in distributions for holding, well, the src. leo

[perl #37849] [BUG] languages/regex/Makefile is not generated

2005-12-08 Thread via RT
# New Ticket Created by jerry gay # Please include the string: [perl #37849] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37849 > languages/regex/Makefile is not generated. it should be. that is, unless the language is b

[perl #37850] [BUG] tcl build trouble on win32

2005-12-08 Thread via RT
# New Ticket Created by jerry gay # Please include the string: [perl #37850] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37850 > this is win32-msvc7. pbc_merge fails for tcl. here's the end of the output from a tcl make

Re: load_bytecode no longer loads PBCs from the CWD

2005-12-08 Thread Leopold Toetsch
On Dec 8, 2005, at 3:13, Bob Rogers wrote: The change below means that the following code no longer works for loading non-Parrot compiled libraries from the current directory: load_bytecode "structures.pbc" I've tested above-like file loading and it worked. OTOH bernhard today me

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 fac

Re: parrot directory reorganization (phase 1 complete)

2005-12-08 Thread jerry gay
On 12/8/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > On Dec 8, 2005, at 18:54, jerry gay wrote: > > chip proposed changing the src/ dir to vm/. nobody complained, > > I have said several times that I don't see any reasons to rename src. > okie-dokie, then. that's all the controversy i need for

Re: load_bytecode no longer loads PBCs from the CWD

2005-12-08 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Fri, 9 Dec 2005 00:11:25 +0100 On Dec 8, 2005, at 3:13, Bob Rogers wrote: >The change below means that the following code no longer works for > loading non-Parrot compiled libraries from the current directory: > >load_by

Re: parrot directory reorganization (phase 2 mark 1)

2005-12-08 Thread jerry gay
On 12/8/05, jerry gay <[EMAIL PROTECTED]> wrote: > the first phase of the directory reorganization is complete. all > directory moves which do not involve the src/ directory are done. hope > this clears things up a bit. next, i'll be addressing src/ dirs. if > you'll recall from recent discussion..

Re: Modular versions and APIs

2005-12-08 Thread Rob Kinyon
On 12/8/05, Larry Wall <[EMAIL PROTECTED]> wrote: > [snip] 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 authors. Would you mind elaborating on this some more? Thanks, Rob

Re: Mac OS X Build Errors (0.4.0)

2005-12-08 Thread Brent Fulgham
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 8, 2005, at 1:27 AM, Leopold Toetsch wrote: On Dec 8, 2005, at 6:57, Brent Fulgham wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In addition to the shootout machine, I have a main development box that runs Mac OS X (PowerPC). I