From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26048 invoked from network); 12 Dec 2022 03:10:05 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Dec 2022 03:10:05 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1670814607; b=aa1mK+Gb2z1KtZp4vMbPJ5xtzImJKo5fLGc7RzqndK4k9eIMDyYKbGVp/Oo34m04RKb1APMgbR olLJk72sZbdJVAMPENN+Jox/lSnAgeVJs0sid3UyRWFIIiYfQLjH6m1lxhoBI3buWsJZvLipVr mu1TPMoloxrlXLDhCOdFQ7doEjlaef9+3OxWWiFnN3RzTu0dib/XL3r2omI9USUqGiRSPJ08SI LlJZ7RZT6TDTPmSxBjWAkxyqOetZ89Pw31ky1vPuohIUKiRfX+hfMsOCsl4UuAzzfJ6HUsnyj8 DfHHCk68kGFg+U7G72/yTLeAZRMgx5Een2FpTK12qmpB8w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1670814607; bh=h6jFQ+kNhHAue+GlPBTcBNGErTTc+9x5t/WKWX3b+Mg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=gKkZc1ELdB/tmo9FYat/0Jb4o6lOPEcX6lKvZdr6G0lNX5c2qSKD96VhBAM/mga8vmYjjDf27N 5LOUnayzz6q6LvyYXquIvkGXXgc++aDC0r3eYswJyzntJ43cpHcqPkFsiupvJvtK2fxq6iLByu mVL3CeGJi01Spb6M+phPGNk8L/JVi9HKVG1v9hDIkK8dfPWr9Cas9plsNUXWgQg5szn2HWLoLf WWeJh+yUlSW2/XK2IWVjqgpwT+hBvkZG45io8WfLKgZmL/+hLMnHKO4i4LQzLt2j6r1gSaOuaj yR9HFtK+x131Y+pfroGk0F7DdzgaT+I5hKAzhKQfqWzm/A==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-transfer-encoding: Content-type:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=vrHrHSgqW00TzWVrfFAN1uYyl4hWsXc3QjKoMMn1vGA=; b=NATyPf9dDgYeEJrxRAxgwVKO1k bv+ttIZ2msaHd8bTvhoLe5MyMHBuNsY3YRxmDmWhGjpug++fB3GdPE2gqVaq716zSB5KBf5wSYL17 Zalm7tQot6/hqBwKprA1VaDy0LYnTad34xbZA3OjmNbmjHt7usIDNFgENlxC4vg+WP3aIp8/1UixH 8po4V54XP1FfY3CZUbMdQa0lRASMI0UTGRcrEr+85R54iwEr6VBOXg9/8dTJfGbqlRfRc0u2/qyzm Ve912o8spRcxzo1Ra2nqSKMPtvetNmTZ4H+2i1CtcMt22m9Qxu+5RBkMPMXItirvyEThrytXbsPZk NaitLilw==; Received: by zero.zsh.org with local id 1p4ZCe-000MgR-Hn; Mon, 12 Dec 2022 03:10:04 +0000 Authentication-Results: zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none Received: from mta01.eastlink.ca ([24.224.136.30]:48805) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1p4ZBj-000LzL-DN; Mon, 12 Dec 2022 03:09:07 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta01.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RMR00OW6CBK5MB0@mta01.eastlink.ca> for zsh-users@zsh.org; Sun, 11 Dec 2022 23:09:06 -0400 (AST) Received: from [192.168.0.4] ([24.207.18.108]) by Eastlink with ESMTPSA id 4ZBhpzzefeLAh4ZBhpX9NM; Sun, 11 Dec 2022 23:09:06 -0400 X-Authority-Analysis: v=2.4 cv=S7gfgqgP c=1 sm=1 tr=0 ts=63969b52 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=gir0-LH0AAAA:8 a=HJjLpz3ZJBHm4GEyBgkA:9 a=QEXdDO2ut3YA:10 a=aLewGyoHDmJ4ULJHWpSz:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejgdehhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdegngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Sun, 11 Dec 2022 19:09:05 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: associative array questions Content-language: en-US To: zsh-users@zsh.org References: <32f371e2-bdf4-1f88-3c8b-ed1e6d564b63@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28522 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On 2022-12-11 17:52, Bart Schaefer wrote: > On Sun, Dec 11, 2022 at 2:37 PM Ray Andrews wrote: >> I should say that I thought substitution happened before assignment. > Well, of course it does happen before the assignment is actually > performed, but not before the parser decides that an assignment is > (not) what is syntactically indicated. If the learning curve wasn't about vertical I'd love to take a look under the hood.  One might cheerfully suppose that it's always obvious when an assignment is indicated but it's not hard to believe that life is not really so simple.  Given the multiple usage of so many characters I'm astonished that the parser could ever have been got working at all.  Agonizing accretion I expect. BTW that would also explain why that 'typedef' method you just showed me does what I want so painlessly -- the context of a typedef simplifies the parser's work. >