From: Ricardo Wurmus <rekado@elephly.net>
To: gwl-devel@gnu.org
Subject: Re: what colour should the bikeshed have?
Date: Tue, 25 Jun 2019 00:24:34 +0200 [thread overview]
Message-ID: <87y31qsjtp.fsf@elephly.net> (raw)
In-Reply-To: <87k1dft711.fsf@elephly.net>
Ricardo Wurmus <rekado@elephly.net> writes:
> I think “procedure # bash {” is a bit long for a very common use case.
> Since “# bash {…}” is special syntax implemented with a reader macro I’m
> not sure if or how we can do better.
>
> I think we might be able to do this:
>
> process: sleep
> packages "coreutils"
> # bash {
> echo "Sleeping..."
> sleep 10
> }
This works now since commit da8e0308587d62a06169dacdc41e86519a1ffa54.
Code snippets (either produced with the “#” syntax or without) are the
only thing that can make use of this special rule at the moment. Plain
S-expressions need to use “procedure '(…)”, because I don’t really want
to match on “quote” and “quasiquote” at macro expansion time.
I didn’t implement special handling for G-expressions either, but that’s
possible in principle.
I’ll rename “procedure” to “run” next.
--
Ricardo
prev parent reply other threads:[~2019-06-24 22:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-21 13:14 what colour should the bikeshed have? Ricardo Wurmus
2019-06-24 10:23 ` zimoun
2019-06-24 13:33 ` Ricardo Wurmus
2019-06-25 15:32 ` Ricardo Wurmus
2019-06-24 22:24 ` Ricardo Wurmus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y31qsjtp.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=gwl-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.