From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19878 invoked by alias); 22 Oct 2015 16:02:02 -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: 20812 Received: (qmail 6048 invoked from network); 22 Oct 2015 16:02:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,BODY_URI_ONLY autolearn=no autolearn_force=no version=3.4.0 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=utf-8; format=flowed X-Authority-Analysis: v=2.1 cv=T/C1EZ6Q c=1 sm=1 tr=0 a=vsFYQC4/11PqlKifmEOq9w==:117 a=vsFYQC4/11PqlKifmEOq9w==:17 a=IkcTkHD0fZMA:10 a=1VU12qBXfeKyw-2dmzkA:9 a=QEXdDO2ut3YA:10 Message-id: <56290878.3060201@eastlink.ca> Date: Thu, 22 Oct 2015 09:02:00 -0700 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 To: ZyX , "zsh-users@zsh.org" Subject: Re: suprise with -= References: <562483C9.1060602@eastlink.ca> <151019113517.ZM32739@torch.brasslantern.com> <562545DD.5020008@eastlink.ca> <151019172744.ZM558@torch.brasslantern.com> <5627D2F8.3000004@eastlink.ca> <970471445453032@web1h.yandex.ru> <562900EF.8090509@eastlink.ca> <2128161445528612@web30m.yandex.ru> In-reply-to: <2128161445528612@web30m.yandex.ru> On 10/22/2015 08:43 AM, ZyX wrote: > 22.10.2015, 18:31, "Ray Andrews" : > > It is not always wrong, BTW. E.g. VimL has no “parsing” stage, it always directly *executes* the input string, doing any parsing in process. This is why e.g. when calling > > :let var=[system("echo bar>baz"), > > file `baz` will appear, but `var` will not get assigned due to parsing error: VimL executor does not see absense of `]` at the time it is executing `system()` call. Also meaning of Well then I should be grateful for whatever parsing zsh does--at least it picks up clear errors in syntax. But as Bart says, semantics is not the same thing. One can think one understands these things but still have a brain full of deep errors. If I'd been involved in this 20 years ago I'd have written: "The Tao of shells--why everything a C coder thinks he knows about programming ain't necessarily so."