From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:45300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyiQg-0001eG-GS for gwl-devel@gnu.org; Tue, 26 Feb 2019 14:30:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyiQc-0002WK-R2 for gwl-devel@gnu.org; Tue, 26 Feb 2019 14:30:12 -0500 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:43138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyiQa-0002Mc-JI for gwl-devel@gnu.org; Tue, 26 Feb 2019 14:30:10 -0500 Received: by mail-qt1-x831.google.com with SMTP id y4so16285837qtc.10 for ; Tue, 26 Feb 2019 11:30:03 -0800 (PST) MIME-Version: 1.0 References: <87lg2atsxx.fsf@elephly.net> <87mumj0xzq.fsf@elephly.net> <87pnrez7zg.fsf@elephly.net> In-Reply-To: <87pnrez7zg.fsf@elephly.net> From: zimoun Date: Tue, 26 Feb 2019 20:29:50 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: variable interpolation in code snippets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+kyle=kyleam.com@gnu.org Sender: "gwl-devel" To: Ricardo Wurmus Cc: gwl-devel@gnu.org On Tue, 26 Feb 2019 at 20:05, Ricardo Wurmus wrote: > > Yes, I think this is pretty nice. I=E2=80=99ll aim for something like th= is: > > --8<---------------cut here---------------start------------->8--- > process: foo > data-inputs > named-list > foo =3D 1 > bar =3D hello > baz =3D world > procedure # bash { cat {{data-inputs.foo}} {{data-inputs.bar}} } > --8<---------------cut here---------------end--------------->8--- > > Haven=E2=80=99t thought much about it, but =E2=80=9Cnamed-list=E2=80=9D (= or whatever the final > name) would introduce a let binding or something. Yes! The "named-list" would be the name of the reader macro, right? (joke: "named-list" is a better name than "xyz-list" ;-) > (BTW: I don=E2=80=99t like that it=E2=80=99s called =E2=80=9Cdata-inputs= =E2=80=9D. =E2=80=9Cinputs=E2=80=9D is nicer and > fits well to =E2=80=9Coutputs=E2=80=9D.) Agree. It was on my list asking for (bikeshedding) changes. ;-) >From my opinion, the change should be: - inputs -> packages - data-inputs -> inputs - outputs -> outputs Cheers -- simon