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 X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9411AC07E96 for ; Tue, 6 Jul 2021 14:57:47 +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 0D6B7611AE for ; Tue, 6 Jul 2021 14:57:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D6B7611AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 498AE82CC1; Tue, 6 Jul 2021 16:57:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="akg5/2Vk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0C15282D4B; Tue, 6 Jul 2021 16:57:43 +0200 (CEST) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2558382CC1 for ; Tue, 6 Jul 2021 16:57:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-wm1-x330.google.com with SMTP id w13so13784148wmc.3 for ; Tue, 06 Jul 2021 07:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e3ehI+gSvOl5kCz29ghDc2G900qlTy6gJmfLsptprCM=; b=akg5/2VkpwoYePN+2cwOnMQmiiIvsfMg+643KpdX35R/XT6OuG0wbv+ZveFwSYGXOm 1OP3iVoiAxqY2J2y18SRCpqAhn6kzqgZaakZSEnKaSs8jvkYBORwGIXrrgL8JSBNpSdi 6ROORan7HlTSXYumAsBG4YTGYNau5Vcpbyqjg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e3ehI+gSvOl5kCz29ghDc2G900qlTy6gJmfLsptprCM=; b=eW7ECSoTsFGdBZu9CbSXVgfSvExj0wxlcf9BUG5g6gvrznp+DfnFb3Q+z5kkH+H4Zd 83OiAszf7q5M+g9t4gN/OvnTVyiYpFrOEO/eb5019XiryKVHBWFmSmnDtb6SqTxzDRng 7r9PbpHrlNxmH6J/pnUDgTIw9HiESlnPms0MGc4d2OVJhTuiFzh6swfPAmPPj8R9GRCX y6tm0oF3tYwz2z+/usb0l2e5rrOBBbNReDO8dcEdH3NA+uWHueLU3eRbO8a+b2A4Q+c8 fyKTiEsrPipA4IDoznJ8DlStR7dd2PW+VrXqIXC0Y2+fqR5Rq+/X0pVSJ8DPcvcqaL4U YwJw== X-Gm-Message-State: AOAM531P9GwaKfbfL3ewMxBqAu685X6QkxaodXSuYXTbyAz4fJ6++LF6 vs9BwaQjLK/9NycZVL5ULWD3QwFLzqcRlt0GrQaycA== X-Google-Smtp-Source: ABdhPJx44JhpA+myFCs++UZNrTK5jiyHDRjNk59uJKx50hMZzGbjI2NkKN01gZzKNKsrlIht1jcUnFLrE6Cw51EbmYE= X-Received: by 2002:a05:600c:3391:: with SMTP id o17mr1205456wmp.119.1625583455414; Tue, 06 Jul 2021 07:57:35 -0700 (PDT) MIME-Version: 1.0 References: <20210701061611.957918-1-seanga2@gmail.com> <20210701061611.957918-3-seanga2@gmail.com> <126700.1625223815@gemini.denx.de> <8bbdb7a1-5085-a3b7-614f-12ae9aee8e8b@gmail.com> <18831.1625340810@gemini.denx.de> <20210705191058.GB9516@bill-the-cat> <192152.1625557603@gemini.denx.de> In-Reply-To: From: Simon Glass Date: Tue, 6 Jul 2021 08:57:23 -0600 Message-ID: Subject: Re: [RFC PATCH 02/28] cli: Add LIL shell To: Michael Nazzareno Trimarchi Cc: Wolfgang Denk , Sean Anderson , Tom Rini , U-Boot-Denx , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Roland Gaudig , Heinrich Schuchardt , Kostas Michalopoulos Content-Type: text/plain; charset="UTF-8" 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 Hi Michael, On Tue, 6 Jul 2021 at 01:53, Michael Nazzareno Trimarchi wrote: > > On Tue, Jul 6, 2021 at 9:46 AM Wolfgang Denk wrote: > > > > Dear Sean, > > > > In message you wrote: > > > > > > >>> foo() { proc foo {first second} { > > > >>> echo $1 $2 echo $first $second > > > >>> } } > > > > > > This is not possible. We only have eval (run) as of today. I view adding > > > functions as one of the most important usability improvements we can > > > make. > > > > Again: this is not an issue with hush as is, but only with our > > resource-limited port of a nearly 20 year old version of it. > > > > Updating to a current version would fix this, in an almost 100% > > backward compatible way. > > Agree on this. There is another email about the LIL and how is right now > maintained and if the solutions that we have already in place can be just > updated, I don't find any valid reason to change it but update > seems more straightforward. Would you be interested in taking this on? It has been talked about for some years... Regards, Simon