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: Hans Åberg
Subject: Re: Complex --evaluate command line option
Date: Fri, 26 Oct 2018 18:42:12 +0200

> On 26 Oct 2018, at 18:27, Thomas Morley <address@hidden> wrote:
> 
> 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

The devel is in the details. :-)





reply via email to

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