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