On Tue, Oct 17, 2000 at 06:53:47PM +1100, Jeremy Howard wrote: > Leon Brocard wrote: > > Hmmm, I wonder what kind of subset would be necessary - surely the > > most useful constructs are also the most complicated... > > We could learn quite a bit by looking through the code from > Parse::RecDescent, switch.pm, and friends. Damian's done a lot of parsing > (including parsing Perl) with Perl, so this would be a good place to start. > > In terms of bootstrapping, however, we either need to: > - Write the Perl subset in C (or some other portable language), or > - Use Perl 5 as the 'Perl subset', and distribute that with Perl 6. Gisle and I were talking about this tonight, and it *might* be possible to write the Perl tokenizer in a Perl[56] regex, which is more easily parsable in C. All of a sudden, toke.c is replaced by toke.re, which would be much more legible to this community (which is more of a strike against toke.c instead of a benefit of some toke.re). That would certainly qualify as implementing the Perl grammar in Perl, and might even be achievable. (*gasp!*) It was late though. Might have been sleep deprevation talking. Z.
- Re: RFC 334 (v1) I'm {STILL} trying ... John Porter
- Re: RFC 334 (v1) I'm {STILL} trying ... Dan Sugalski
- Re: RFC 334 (v1) I'm {STILL} trying to unders... Nicholas Clark
- Re: RFC 334 (v1) I'm {STILL} trying to un... Dan Sugalski
- Re: RFC 334 (v1) I'm {STILL} trying to understand... David L. Nicol
- Perl's parser and lexer will likely be in Perl (was Re: RF... Bradley M. Kuhn
- Re: Perl's parser and lexer will likely be in Perl (w... Leon Brocard
- Larry's ALS talk Bradley M. Kuhn
- Re: Larry's ALS talk Jeff Okamoto
- Re: Perl's parser and lexer will likely be in Per... Jeremy Howard
- Re: Perl's parser and lexer will likely be in... Adam Turoff
- Re: Perl's parser and lexer will likely b... Simon Cozens
- Re: Perl's parser and lexer will lik... Simon Cozens
- Re: Perl's parser and lexer will lik... Nicholas Clark
- Re: Perl's parser and lexer will lik... Simon Cozens
- Re: Perl's parser and lexer will lik... John Porter
- Re: Perl's parser and lexer will lik... Dan Sugalski
- Re: Perl's parser and lexer will lik... Ken Fox
- Re: Perl's parser and lexer will lik... Nicholas Clark
- Re: Perl's parser and lexer will lik... Simon Cozens
- Re: Perl's parser and lexer will lik... David L. Nicol