lilypond-user
[Top][All Lists]
Advanced

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

Re: scheme-sandbox


From: Mark Mathias
Subject: Re: scheme-sandbox
Date: Tue, 24 Jan 2023 11:19:55 -0500

On Tue, Jan 24, 2023 at 9:55 AM Jean Abou Samra <jean@abou-samra.fr> wrote:
On 24/01/2023 15:26, Mark Mathias wrote:
> I've taken up Jean Abou Samra's invitation to develop my understanding of Scheme through the scheme-sandbox. I'm on Windows 10 with Guile 2.2.7 in a command prompt window. The command prompt looks correct: 
>
>     scheme@(#{ g100}#)>.
>
>
> I hit a wall right away. When I type "42", Scheme should print "42" back according to Jean's tutorial. Instead I see:
>
>      
>     While compiling _expression_:
>     In procedure bytevector-u64-set!: Value out of range: -149659645
>
>
> Typing ",help all" hasn't given me a clue for what to do next, nor has a web search turned up something I understand.
>
> Thank you in advance. I really enjoy LilyPond and the community connected therewith.



Ouch, that looks like a variant of
https://gitlab.com/lilypond/lilypond/-/issues/6474

As a workaround, try putting this in a file called ".guile"
(note the leading dot) in your home directory:

(use-modules (system repl common))
(repl-default-option-set! 'interp #t)


Or instead of using "lilypond scheme-sandbox", use
"lilypond my-scheme-sandbox.ly", putting this in
the file "my-scheme-sandbox.ly":

#(use-modules (system repl common))
#(repl-default-option-set! 'interp #t)
\include "scheme-sandbox.ly"

HTH,
Jean

I've chosen the 2nd method and it's working!
Thank You,
Mark 

reply via email to

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