From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44A64C433EF for ; Tue, 19 Oct 2021 16:06:01 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A507361175 for ; Tue, 19 Oct 2021 16:06:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A507361175 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 52DFC829FC; Tue, 19 Oct 2021 18:05:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634659558; bh=JFIxCT3XqVZ8BSIfJ4vDyajdixN6fADiCAGVLuXJ3aQ=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=q4MEeUmJE/hgXjL5pFTDR14j1O3ghhTwDK2iv6Upznhf6qiMBHVBWlt/sT3JsdiUe ylYYdKuF8fPcQe3trD3KCDyhoKbV7BuykGwel4IG5X1M/+2GclGrkajVDS8gEIjb6v xxBU5CgS539M+q+wHmsMqYinmkaH7jP4zOv0IUCYg7HJe59vS5k4YwI4rAzcC8BVum h7A5YPJC6E1qpnK4oOrg74FLQIdAI3HiJMMOcEqrt4RKrLO8R3Sp9mdvRutT5RfNoI Yp7VBvLEt8UU/INXUNQCqW2gUQuB4qgRXtyVb3SXR+mE4qOULb+CFA4CvX0Z6iahpt 72OKOiWOopJpw== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id ACF0F8169E for ; Tue, 19 Oct 2021 18:05:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634659556; bh=JFIxCT3XqVZ8BSIfJ4vDyajdixN6fADiCAGVLuXJ3aQ=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=B6JojIIw4wbs3nwqIDABPHBe4J+YTOfNUdR4CnscxjFIKdtpaV+EhuBHCdn5H4AOJ cftiFyNiZO4UNPqLDvFIgiy1uvqdxKVtIzyli7lmqfj8PhRiLiJ8sTKz3WtdWvCr+U o7gGU9zHGPzbEv5tf/7ryB5k0ImOQDolTXmHMO9/gMbKgtQAn7KwgEEQIwh2XlW2WY oVSKv7Mxb1UfpAg7p9AzOmMyPhRCujrzDQ2EVfSdRsmXlIA3Q0RJ7YfcgJJBR1DhiG mAlOsgZokxrwG+u8VdU/xNJSPpVp/4zTTJf255Iv0ELmOR4YIj+yIeH8baryb0KKJ/ WiZDAVSrplASQ== Received: by janitor.denx.de (Postfix, from userid 108) id 62C03A0275; Tue, 19 Oct 2021 18:05:56 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 28A7BA0091; Tue, 19 Oct 2021 18:05:48 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id C8D8F1E0F1B; Tue, 19 Oct 2021 18:05:47 +0200 (CEST) To: Simon Glass cc: Tom Rini , U-Boot Mailing List , Rasmus Villemoes , Heinrich Schuchardt , Joe Hershberger From: Wolfgang Denk Subject: Re: [PATCH v8 4/8] env: Allow U-Boot scripts to be placed in a .env file MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: References: <20211018181322.1181847-1-sjg@chromium.org> <20211018121315.v8.4.Ie78bfbfca0d01d9cba501e127f446ec48e1f7afe@changeid> <20211019140711.GC7964@bill-the-cat> Comments: In-reply-to Simon Glass message dated "Tue, 19 Oct 2021 08:11:08 -0600." Date: Tue, 19 Oct 2021 18:05:47 +0200 Message-ID: <3573394.1634659547@gemini.denx.de> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Dear Simon, In message you wrote: > > Well ideally I'd like to avoid Python in this case as it is in the > compilation path. I am not sure yet what Wolfgang actually wants, > apart from variable names ending with + which I would like to > disallow. > > So if we can clearly understand the goal, then we might be able to do > it in awk, but, again, can we just disallow '+' in var names ? My goal is to have a parser that does not place new restrictions on an ancient interface. The first step would probably be to define a clear syntax description. Eventually this would be also more allowing for variations in white space, so that "=" could also be written as " = ". ....which in turn would allow for foo+ = bar vs. foo += bar . Just my 2ยข... Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Our universe is a fragile house of atoms, held together by the mortar of cause-and-effect. One magician would be two too many. - Terry Pratchett, _The Dark Side of the Sun_