Joseph F. Ryan wrote in perl.perl6.language :
>
> I think the point of having C<if> as a sub rather than as a separate
> syntax is so the parser doesn't have to do anything special for
> special keywords.
>
> I think the goal was to simplify the compiler, but with the
> discussion of recent weeks, it certainly doesn't look like that
> happened. :)
Simplify the compiler, yes; but (with my limited knowledge of Perl 6) I
don't expect the tokenizer to be simple. And the hack I just proposed to
the tokenizer is mostly stateless.
--
If strain on the lexer were a design criterion, I blew it long ago.
-- Larry Wall