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:18:29 +0200

> 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.





reply via email to

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