On Thu, May 13, 2004 at 09:41:54PM +0100, Dave Mitchell wrote:
: On Thu, May 13, 2004 at 12:22:09PM -0700, Larry Wall wrote:
: > No, you still have the four basic actions.  Subparsing is all hidden in
: > the lexer.
: 
: Hence why the lexer in Perl 5 is 8000 lines long ;-)
Well, actually, the lexer in Perl 5 manages to be that long without
ever calling back into a subparser.  Everything ends up bubbling back
out to the main yacc grammar, albeit highly transmogrified in the
case of literal strings.  How Perl 5 does two-pass string processing
is one really good reason we're not doing it that way in Perl 6...  :-)

Larry

Reply via email to