> >Whoa. This is so simple yet so sublime. It solves so many issues in one
> >swoop. Cool.
> >
> >Assuming Perl6 will be parsing Perl5 code? Hmmm. That's interesting.
> >Forget p52p6 and the whole 80/20 thing, we could potentially hit the
> >100% mark.
> 
> I'd really rather not, and I don't think that was Larry's intention. I 
> think rather it was "perl 5 warning/strict levels", not "parse as perl 5 
> code". At least I hope that's the case...

well, personally I would rather that this *is* done, because it forces perl 6's
architecture to be solid. 

If perl6 is designed correctly, then it should be *extremely easy* to target 
multiple, differing syntaxes. TMTOWTDI on a grand scale.. 

And what would be a better way of testing this out than being able to 
make perl6 parse and run perl5 code correctly? (and I think that a key component
ways of making this workable would be to promote a descendent of 
Parse::RecDescent to be the mechanism that parses perl for *real* and is the
basis of micro-perl, etc.)

> >implement this? ("use 6.0" has much the same problem)
> 
> Most likely you'll just see the normal "use strict; use warnings;" at the 
> top of the main program, if that's what folks want.

well, perhaps the easiest way would be some similar tag to tell a perl6 script
from a perl5 script. A huge syntax difference between the two languages? 
A different keyword for 'use'?

Ed

Reply via email to