From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8248 invoked by alias); 13 May 2014 15:03:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32611 Received: (qmail 25906 invoked from network); 13 May 2014 15:03:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140513080307.ZM20948@torch.brasslantern.com> Date: Tue, 13 May 2014 08:03:07 -0700 In-reply-to: <20140513101032.5d2377f8@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: [PATCH] Re: Parser issues and and [[ $var ]]" (May 13, 10:10am) References: <140416102727.ZM19090@torch.brasslantern.com> <534FE710.3020601@eastlink.ca> <140417123722.ZM22179@torch.brasslantern.com> <20140423165024.1480528a@pws-pc.ntlworld.com> <20140425172112.7bf50606@pwslap01u.europe.root.pri> <140426133019.ZM29630@torch.brasslantern.com> <140510140932.ZM32668@torch.brasslantern.com> <140510180144.ZM26488@torch.brasslantern.com> <20140511180148.3b614054@pws-pc.ntlworld.com> <140511111200.ZM20625@torch.brasslantern.com> <140512220112.ZM20283@torch.brasslantern.com> <20140513101032.5d2377f8@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] Re: Parser issues and and [[ $var ]] MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On May 13, 10:10am, Peter Stephenson wrote: } Subject: Re: [PATCH] Re: Parser issues and and [[ $var ]] } } > This problem already exists -- infix operators that aren't tokens like } > && and || are already lower prececence than prefix operators. } } While this sort of thing and the problems with modular conditions are a } real headache for parsing, I don't think the actual practical problems } are anything like as bad. It's almost certainly not a problem for correct programs. The case I'd be worried about is a program that ksh would reject as syntactically bad (and therefore never start running) where zsh would accept it and then fail at run time (possibly creating side-effects). However, having had this situation already for a rather long time, I am not particularly worked up about it.