lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Complex --evaluate command line option


From: Thomas Morley
Subject: Re: Complex --evaluate command line option
Date: Fri, 26 Oct 2018 18:27:36 +0200

Am Fr., 26. Okt. 2018 um 18:18 Uhr schrieb Hans Åberg <address@hidden>:
>
>
> > On 26 Oct 2018, at 17:41, Thomas Morley <address@hidden> wrote:
> >
> > But you could do (at  least on Linux):
> >
> > lilydevel -e "(begin (define myhash (make-hash-table))(hashq-set!
> > myhash 'foo \"bar\"))" file.ly
> >
> > and in file.ly
> >
> > #(use-modules (guile-user))
> > #(write (hashq-ref myhash 'foo))
> >
> > returning "bar" as wished.
>
> The program "lilydevel" is not in the MacOS distribution, though.

Sorry, I rename my lily-versions ...
"lilydevel" is always my latest released devel-version, currently 2.19.82

lilypond -e "(begin (define myhash (make-hash-table))(hashq-set!
myhash 'foo \"bar\"))"
works as well, invoking 2.18.2

Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]