OO misconceptions

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Thu Jul 19 16:11:57 EDT 2001


17 Jul 2001 17:50:16 -0400, François Pinard <pinard at iro.umontreal.ca> pisze:

> I'm still dreaming about an automatic Perl to Python converter.
> Despite many consider this is not possible, I stick with my naive
> impression we could do something about it.

How would you translate
    eval $x;
?

> Would you believe, this is the first step which looks most difficult
> to me.  Parsing Perl might not be that difficult after all, but
> its tokenizer is extremely hairy, and rather discouraging.

Indeed Perl has a simple syntax. Lexical structure is what makes
it a unique language...

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list