OT: Ultimate Language Syntax Cleanness Comparison
holger krekel
pyth at devel.trillke.net
Sat Feb 8 07:21:54 EST 2003
Jeremy Fincher wrote:
> holger krekel <pyth at devel.trillke.net> wrote in message news:<mailman.1044658940.11235.python-list at python.org>...
> > I was actually quite surprised to find out (together with a perl-friend)
> > that there is no easy way to parse perl. All the methods involve
> > evaluating/executing it at the same time. Cool, isn't it.
>
> That's not true. Perl *is* compiled to a bytecode format (what do you
> think all the jazz about Parrot is for?) There's no easy way to lex
> Perl separate from parsing it. Lexing and parsing Perl code is one in
> the same. Evaluating it is entirely separate.
please show me the snippet how to parse a perl snippet without evaluating it.
I am really interested and we even posted to the perl-porters list at
the time.
Until shown the snippet i don't believe it.
holger
More information about the Python-list
mailing list