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/2000-January/001885.html below:

[Python-Dev] Adding C ternary select (a?b:c) to Python?

[Python-Dev] Adding C ternary select (a?b:c) to Python? [Python-Dev] Adding C ternary select (a?b:c) to Python?Eric S. Raymond esr@thyrsus.com
Sun, 30 Jan 2000 10:59:42 -0500
Jim Fulton <jim@digicool.com>:
> I'm surprised that using the colon doesn't cause problems.

Pgen doesn't tag this ambiguous.  The LL(1) traversal actually helps
here; by the time you see a colon, you already know whether or not you're
parsing a ternary telect.
-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

Don't think of it as `gun control', think of it as `victim
disarmament'. If we make enough laws, we can all be criminals.



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