lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme expressions on lilypond command line (-e)


From: Aaron Hill
Subject: Re: Scheme expressions on lilypond command line (-e)
Date: Mon, 19 Oct 2020 15:21:38 -0700
User-agent: Roundcube Webmail/1.4.9

On 2020-10-19 2:45 pm, Jean Abou Samra wrote:
You can ignore the warning that shows up
(https://gitlab.com/lilypond/lilypond/-/issues/3613).

You can avoid the warning by using the @ syntax:

%%%% eval-scope.ly %%%%
\version "2.20.0"
#(format #t "\nvalue = ~s"
  (false-if-exception (@ (guile-user) value)))
%%%%

====
lilypond eval-scope.ly
GNU LilyPond 2.20.0
Processing `eval-scope.ly'
Parsing...
value = #f
Success: compilation successfully completed

lilypond -e "(define-public value 123)" eval-scope.ly
GNU LilyPond 2.20.0
Processing `eval-scope.ly'
Parsing...
value = 123
Success: compilation successfully completed
====


-- Aaron Hill



reply via email to

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