Path: csiph.com!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Dennis Lee Bieber Newsgroups: comp.lang.python Subject: Re: Assignment Versus Equality Date: Mon, 27 Jun 2016 07:30:01 -0400 Organization: IISS Elusive Unicorn Lines: 20 Message-ID: References: <8a53c069-ca13-47bf-a24e-d2393a018b22@googlegroups.com> <1b32nb91oakau2sj4lbck2k7tje9lfr01b@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de eg8XdCoUVK1izZTG7jnFsgJfNaN1rDgEe9bO+9s1D8UQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'needed,': 0.05; 'assignment': 0.07; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '2016': 0.16; 'dots': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'tabs': 0.16; 'url:home': 0.18; 'parser': 0.22; 'example': 0.26; 'header:X -Complaints-To:1': 0.26; 'reaches': 0.27; 'spaces': 0.29; 'instruction': 0.29; 'branch': 0.30; 'statement': 0.32; 'could': 0.35; 'beginning': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'wrong': 0.38; 'to:addr:python.org': 0.40; 'dennis': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: adsl-108-68-176-19.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1b32nb91oakau2sj4lbck2k7tje9lfr01b@4ax.com> X-Mailman-Original-References: <8a53c069-ca13-47bf-a24e-d2393a018b22@googlegroups.com> Xref: csiph.com comp.lang.python:110571 On Sun, 26 Jun 2016 16:56:18 +0100, BartC declaimed the following: > >(Note, for those who don't know (old) Fortran, that spaces and tabs are >not significant. So those dots are needed, otherwise "a eq b" would be >parsed as "aeqb".) Or my favorite example of a parser headache: which is the loop instruction and which is the assignment DO10I=3,14 DO 10 I = 3.14 Until the parser reaches the , or . it could be going down the wrong branch and have to backtrack to the beginning of the statement to recover. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/