Re: Perl 5 in Perl

[email protected] Sun, 8 Oct 2006 07:34:59 -0700
Newsgroups perl.ppt
Message-ID <[email protected]>
On 10/7/06, Philip Newton <[email protected]> wrote:
> On 10/8/06, Andrew Savige <[email protected]> wrote:
> > --- [email protected] wrote:
> > > Anyone want to write a Perl interpreter in Perl?
> >
> > If you mean Perl 5, take a look at:
> >
> >  * http://www.perlmonks.org/?node_id=44722
> >  * http://search.cpan.org/dist/PPI/
> >  * toke.c from the Perl 5 C sources
>
> and also perltidy.
>
> I remember Simon Cozens, after looking at the source, said something
> along the lines of "it's toke.c in Perl!".
>

Didn't the Camel Book strongly suggest not reading the lexer?  You
guys just made me go blind!

On the bright side, I'm getting close to having a lexer implemented for sh(1).