From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10983 invoked by alias); 6 Mar 2015 21:25:17 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19981 Received: (qmail 13283 invoked from network); 6 Mar 2015 21:25:15 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=windows-1252; format=flowed X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=7K8QI4x6DXfJejJdwhsEbQ==:117 a=7K8QI4x6DXfJejJdwhsEbQ==:17 a=VNsaWKQvMhEA:10 a=N659UExz7-8A:10 a=Bdx_86tLtPKRSNeb4yIA:9 a=pILNOxqGKmIA:10 Message-id: <54FA1B37.9070408@eastlink.ca> Date: Fri, 06 Mar 2015 13:25:11 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.4.0 To: zsh-users@zsh.org Subject: Re: grammar triviality with '&&' References: <54F33934.2070607@eastlink.ca> <13666281425228233@web7o.yandex.ru> <54F345D3.9010204@eastlink.ca> <20150302022754.GA7449@xvii.vinc17.org> <150302005440.ZM16546@torch.brasslantern.com> <20150302103156.GB6869@xvii.vinc17.org> <150302084958.ZM17306@torch.brasslantern.com> <20150304085512.GA3609@ypig.lip.ens-lyon.fr> <54F73D18.8070801@eastlink.ca> <150305205951.ZM8811@torch.brasslantern.com> <54F9D180.4020900@eastlink.ca> <2F50947C-C759-4626-82EF-2F84B8480AD8@larryv.me> In-reply-to: <2F50947C-C759-4626-82EF-2F84B8480AD8@larryv.me> On 03/06/2015 12:23 PM, Lawrence Velázquez wrote: > Did you forget that every C syntactic construct has an explicit > terminating symbol (semicolon, brace, parenthesis, quotation mark, > etc.)? No, that's exactly my point. But as Bart just explained, since newlines are syntactic in interactive mode (how could it really be otherwise?) They must be syntactic in scripts, and that is the heart of the matter. It looks like what I've been 'asking for' is just to permit a sloppy parse of lines beginning with '&&'--a default value--but who really needs that? Better to be explicit. I repent of it. >These "convoluted" bits would appear much less so if you did not insist on forcing your understanding of other tools onto this one. vq Not forcing, rather confessing why my internal parsing engine is so busted. Getting the C out of me is turning out to be 10x harder than I expected. Anyway, it's too much noise on the list.