Am Fr., 26. Okt. 2018 um 18:18 Uhr schrieb Hans Åberg <haber...@telia.com>: > > > > On 26 Oct 2018, at 17:41, Thomas Morley <thomasmorle...@gmail.com> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user