A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/016562.html below:

[Python-Dev] Parrot -- should life imitate satire?

[Python-Dev] Parrot -- should life imitate satire? [Python-Dev] Parrot -- should life imitate satire?Tim Peters tim.one@home.com
Wed, 1 Aug 2001 00:47:35 -0400
[Moshe Zadka]
> PUSH "1"
> PUSH "2"
> BINARY_ADD
>
> In Python that gives "12". In Perl that gives 3.
> Unless you suggest a PERL_BINARY_ADD and a PYTHON_BINARY_ADD, I
> don't see how you can around these things.

Perl needs distinct flavors of BINARY_ADD for its infix "+" and "."
operators.  Once you accept that, there's no real problem here (it simply
means that Python's and Perl's "+" operators would need to map to different
opcodes).




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4