Le lundi 25 septembre 2023 à 17:56 -0400, Kevin Cole a écrit :
> I'm trying to learn more about Scheme by "playing in the sandbox".
>
> When I tried to convert the string "d" to a pitch, it converted correctly.
>
> When I tried the same thing with "bf" I ended up with what I think is
> still a st
I'm trying to learn more about Scheme by "playing in the sandbox".
When I tried to convert the string "d" to a pitch, it converted correctly.
When I tried the same thing with "bf" I ended up with what I think is
still a string.
I'm guessing that's because the sandbox is not using English note na
came upon instructions to type this expression into the
> scheme-sandbox:
>
> (skip-of-length #{ { c'8 d' e' f' e' d' } #})
>
> However, it produced this error:
>
> $1 = # . #))((display-methods #) (name .
> SkipEvent) (iterator-ctor . # ly:rhythmic-mu
> Le 6 juin 2023 à 20:29, Knute Snortum a écrit :
>
>
> While going through Jean's Extending LilyPond tutorial...
>
> https://extending-lilypond.gitlab.io/en/scheme/expressions.html
>
> ...I came upon instructions to type this expression into the scheme-sandbox
Knute Snortum writes:
> While going through Jean's Extending LilyPond tutorial...
>
> https://extending-lilypond.gitlab.io/en/scheme/expressions.html
>
> ...I came upon instructions to type this expression into the scheme-sandbox:
>
> (skip-of-length #{ { c'8 d
While going through Jean's Extending LilyPond tutorial...
https://extending-lilypond.gitlab.io/en/scheme/expressions.html
...I came upon instructions to type this expression into the scheme-sandbox:
(skip-of-length #{ { c'8 d' e' f' e' d' } #})
H
On Tue, Jan 24, 2023 at 9:55 AM Jean Abou Samra 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 pro
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:
>
>
Mark Mathias writes:
> 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'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&qu
pler
> > > Subject:Re: Getting readline to work in scheme-sandbox
> > > Date:Fri, 17 Jan 2020 23:22:38 +0100
> > >
> > > Am 17.01.2020 um 00:32 schrieb Knute Snortum:
> > >
> > >> That did it! Thanks!
> > >
> > > Nice to
pler
> > > Subject:Re: Getting readline to work in scheme-sandbox
> > > Date:Fri, 17 Jan 2020 23:22:38 +0100
> > >
> > > Am 17.01.2020 um 00:32 schrieb Knute Snortum:
> > >
> > >> That did it! Thanks!
> > >
> > > Nice to
On Tue 10 Jan 2023 at 10:34:19 (-0500), Kevin Cole wrote:
> An old thread at
> https://mail.gnu.org/archive/html/lilypond-user/2020-01/msg00350.html
> finished up with:
>
> > From:Michael Käppler
> > Subject:Re: Getting readline to work in scheme-sandbox
> > Date:F
An old thread at
https://mail.gnu.org/archive/html/lilypond-user/2020-01/msg00350.html
finished up with:
> From:Michael Käppler
> Subject:Re: Getting readline to work in scheme-sandbox
> Date:Fri, 17 Jan 2020 23:22:38 +0100
>
> Am 17.01.2020 um 00:32 schrieb Knute Snortum:
&
e the interface to the libreadline library. The version we
ship with our packages, however,
seems to be broken somehow.
There are some ways to get around this. Do you have
guile-2.2-libs installed, too?
If installing guile-2.2-libs does not help either, please send me the output
of
strace -o
t; Am 15.01.2020 um 00:05 schrieb Knute Snortum:
> >>>>>>> I'm not in a vanilla setup, so I changed the commands to: (just for
> >>>>>>> posterity)
> >>>>>>>
> >>>>>>> $ export
> >>>>>>> LD_
called
libguilereadline, that comes with guile,
does provide the interface to the libreadline library. The version we
ship with our packages, however,
seems to be broken somehow.
There are some ways to get around this. Do you have
guile-2.2-libs installed, too?
If installing guile-2.2-libs does not help
t;>>> This is weird. Seems that strace does not recognize the shebang in the
> >>>>>> lilypond script.
> >>>>>> Could you please to try to execute the steps in the startup script
> >>>>>> directly?
> >>>>>>
he version we
ship with our packages, however,
seems to be broken somehow.
There are some ways to get around this. Do you have
guile-2.2-libs installed, too?
If installing guile-2.2-libs does not help either, please send me the output
of
strace -o readlinedebug.log lilypond scheme-sandbox.ly
wh
adline library. The version we
ship with our packages, however,
seems to be broken somehow.
There are some ways to get around this. Do you have
guile-2.2-libs installed, too?
If installing guile-2.2-libs does not help either, please send me the output
of
strace -o readlinedebug.log lilypond sc
---
> >>> Knute Snortum
> >>> (via Gmail)
> >>>
> >>> On Mon, Jan 13, 2020 at 10:59 PM Michael Käppler
> >>> wrote:
> >>>> Hi Knute,
> >>>> I'm currently working on this problem. A library called
> >>
dline.
Regards,
Michael
Am 14.01.2020 um 01:31 schrieb Knute Snortum:
I recently discovered the scheme-sandbox in LilyPond and I want to get
line editing to work. In scheme-sandbox.ly the comments say:
% One typical thing you might want to put there is
% (use-modules (ice-9 readline))
% (activate
libs does not help either, please send me the output
of
strace -o readlinedebug.log lilypond scheme-sandbox.ly
where you type the mentioned commands for activating readline.
Regards,
Michael
Am 14.01.2020 um 01:31 schrieb Knute Snortum:
I recently discovered the scheme-sandbox in LilyPond and I
ndbox.ly
>
> where you type the mentioned commands for activating readline.
>
> Regards,
> Michael
>
> Am 14.01.2020 um 01:31 schrieb Knute Snortum:
> > I recently discovered the scheme-sandbox in LilyPond and I want to get
> > line editing to work. In scheme-sandbo
ently discovered the scheme-sandbox in LilyPond and I want to get
line editing to work. In scheme-sandbox.ly the comments say:
% One typical thing you might want to put there is
% (use-modules (ice-9 readline))
% (activate-readline)
% in order to activate command line editing for interactive ses
I recently discovered the scheme-sandbox in LilyPond and I want to get
line editing to work. In scheme-sandbox.ly the comments say:
% One typical thing you might want to put there is
% (use-modules (ice-9 readline))
% (activate-readline)
% in order to activate command line editing for
line processing would appear to make
> >>> use of the 0th argument for finding libraries. That would warrant more
> >>> examination.
> >>>
> >>> --
> >>> David Kastrup
> >>
> >> which lilypond
> >> returns in my cas
icit path is the same as with
>>> path? If so, something in command line processing would appear to make
>>> use of the 0th argument for finding libraries. That would warrant more
>>> examination.
>>>
>>> --
>>> David Kastrup
>>
>>
libraries. That would warrant more
>> examination.
>>
>> --
>> David Kastrup
>
> which lilypond
> returns in my case:
> /home/hermann/bin/lilypond
> which is the script for 2.18.2 I mentioned in my previous post.
David stated:
I find the follo
2016-10-22 10:12 GMT+02:00 David Kastrup :
> Thomas Morley writes:
>
>> The first hit reads in sourcefiles/guile.changelog:
>>
>> guile (1.8.1-2) unstable; urgency=low
>>
>> * Add readline as build dependency, libreadline8 as dependency for
>> libguile17 (thanks Ted Anderson).
>> * Remove
Thomas Morley writes:
> The first hit reads in sourcefiles/guile.changelog:
>
> guile (1.8.1-2) unstable; urgency=low
>
> * Add readline as build dependency, libreadline8 as dependency for
> libguile17 (thanks Ted Anderson).
> * Remove /etc/hints.
> * Remove curr from hints.
>
> -- Jan
2016-10-22 9:16 GMT+02:00 Thomas Morley :
> 2016-10-22 0:37 GMT+02:00 Thomas Morley :
>> 2016-10-22 0:17 GMT+02:00 David Kastrup :
>>> Thomas Morley writes:
>>>
2016-10-21 23:30 GMT+02:00 David Kastrup :
> Thomas Morley writes:
>
>> I mostly use self-compiled LilyPond which seems
2016-10-22 0:37 GMT+02:00 Thomas Morley :
> 2016-10-22 0:17 GMT+02:00 David Kastrup :
>> Thomas Morley writes:
>>
>>> 2016-10-21 23:30 GMT+02:00 David Kastrup :
Thomas Morley writes:
> I mostly use self-compiled LilyPond which seems to work as it should.
> I'd call it a bug not
2016-10-22 0:17 GMT+02:00 David Kastrup :
> Thomas Morley writes:
>
>> 2016-10-21 23:30 GMT+02:00 David Kastrup :
>>> Thomas Morley writes:
>>>
I mostly use self-compiled LilyPond which seems to work as it should.
I'd call it a bug not to have access to all guile-modules in released
>>>
Thomas Morley writes:
> 2016-10-21 23:30 GMT+02:00 David Kastrup :
>> Thomas Morley writes:
>>
>>> I mostly use self-compiled LilyPond which seems to work as it should.
>>> I'd call it a bug not to have access to all guile-modules in released
>>> version.
>>
>> libreadline is not a Guile module.
2016-10-21 23:30 GMT+02:00 David Kastrup :
> Thomas Morley writes:
>
>> I mostly use self-compiled LilyPond which seems to work as it should.
>> I'd call it a bug not to have access to all guile-modules in released
>> version.
>
> libreadline is not a Guile module. It can be loaded at runtime by
Thomas Morley writes:
> I mostly use self-compiled LilyPond which seems to work as it should.
> I'd call it a bug not to have access to all guile-modules in released
> version.
libreadline is not a Guile module. It can be loaded at runtime by
Guile.
Maybe check whether installing libreadline5
2016-10-21 22:20 GMT+02:00 David Kastrup :
> Thomas Morley writes:
>
>> 2016-10-21 22:06 GMT+02:00 Thomas Morley :
>>> 2016-10-21 21:55 GMT+02:00 David Kastrup :
>>
Different version number? Or missing support at compilation time? What
does
ldd
state here?
>>>
Thomas Morley writes:
> 2016-10-21 22:06 GMT+02:00 Thomas Morley :
>> 2016-10-21 21:55 GMT+02:00 David Kastrup :
>
>>> Different version number? Or missing support at compilation time? What
>>> does
>>>
>>> ldd
>>>
>>> state here?
>>>
>>> On my self-compiled LilyPond I see
>>>
>>> dak@lola:/us
Thomas Morley writes:
> 2016-10-21 19:34 GMT+02:00 David Sumbler :
>> On Fri, 2016-10-21 at 18:56 +0200, David Kastrup wrote:
>
>>> For the record, I get
>>>
>>> p guile-1.8-
>>> libs
>>> - Core Guile
>>> libraries
>>>
>>> i guile-1.8-
>>> libs:amd64
>>> - Core Guile
>>> libraries
>>>
>>>
2016-10-21 22:06 GMT+02:00 Thomas Morley :
> 2016-10-21 21:55 GMT+02:00 David Kastrup :
>> Different version number? Or missing support at compilation time? What
>> does
>>
>> ldd
>>
>> state here?
>>
>> On my self-compiled LilyPond I see
>>
>> dak@lola:/usr/local/tmp/lilypond$ ldd out/bin/lily
2016-10-21 21:55 GMT+02:00 David Kastrup :
> Thomas Morley writes:
>
>> 2016-10-21 19:34 GMT+02:00 David Sumbler :
>>> On Fri, 2016-10-21 at 18:56 +0200, David Kastrup wrote:
>>
For the record, I get
p guile-1.8-
libs
- Core Guile
libraries
i guile-1.8
2016-10-21 19:34 GMT+02:00 David Sumbler :
> On Fri, 2016-10-21 at 18:56 +0200, David Kastrup wrote:
>> For the record, I get
>>
>> p guile-1.8-
>> libs
>> - Core Guile
>> libraries
>>
>> i guile-1.8-
>> libs:amd64
>> - Core Guile
>> libraries
>>
>>
>> with the above aptitude command
A st
t version (1.8.8+1-10ubuntu1).
guile-1.8-libs set to manually installed.
Reflecting the second line above, 'aptitude search guile-1.8-libs' now
gives me:
i guile-1.8-libs
p guile-1.8-libs:i386
(The 'A' flag no longer appears in the first line.)
Incidentally, the
Mark Knoop writes:
> At 17:11 on 21 Oct 2016, David Sumbler wrote:
>>> > > > > Given that, on my 64-bit Linux system, I have Guile 1.8
> ^^
>
>>> > > I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.
> ^
At 17:11 on 21 Oct 2016, David Sumbler wrote:
>> > > > > Given that, on my 64-bit Linux system, I have Guile 1.8
^^
>> > > I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.
^^
>Yes. The output from 'apt
t; > > velopment.html and then ran
> > >
> > > sudo sh ./lilypond-2.19.48-1.linux-64.sh --doc
> > >
> > > David
> > Sorry to keep banging on about this, but I can't help feeling that
> > somebody must know the answer!
> >
> >
; > Given that, on my 64-bit Linux system, I have Guile 1.8 installed
>> > > complete with readline, I'd be very grateful if somebody could
>> > > explain
>> > > to me how I can get readline to load when I type 'lilypond
>> > > scheme-
>> >
> > complete with readline, I'd be very grateful if somebody could
> > > explain
> > > to me how I can get readline to load when I type 'lilypond
> > > scheme-
> > > sandbox' with Lilypond v.2.19.40 .
> > Did you compile LilyPond yourself?
>
ow I can get readline to load when I type 'lilypond scheme-
> > sandbox' with Lilypond v.2.19.40 .
> Did you compile LilyPond yourself?
(There is an error in my previous email: I have Lilypond v.2.19.48)
I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.org/de
velopment
David Sumbler writes:
> Given that, on my 64-bit Linux system, I have Guile 1.8 installed
> complete with readline, I'd be very grateful if somebody could explain
> to me how I can get readline to load when I type 'lilypond scheme-
> sandbox' with Lilypond v.2.19.40
umbler writes:
> > > > >
> > > > > Further to the above, I find that if I type
> > > > >
> > > > > /usr/local/lilypond/usr/bin/guile
> > > > >
> > > > > then readline works just fine.
> > > > Guil
> > > >
> > > >
> > > > Further to the above, I find that if I type
> > > >
> > > > /usr/local/lilypond/usr/bin/guile
> > > >
> > > > then readline works just fine.
> > > Guile 2.0
> > >
> > > >
&
n readline works just fine.
>> Guile 2.0
>>
>> >
>> > But not when guile is invoked with
>> >
>> > lilypond scheme-sandbox
>> Guile 1.8
>
> Sorry, this hasn't helped me.
>
> True, if I type 'guile' it runs /usr/bin/gu
; > But not when guile is invoked with
> >
> > lilypond scheme-sandbox
> Guile 1.8
Sorry, this hasn't helped me.
True, if I type 'guile' it runs /usr/bin/guile-2.0, but if I type
/usr/bin/guile-1.8 readline also works.
Presumably when I type 'lilypond sche
David Sumbler writes:
> Further to the above, I find that if I type
>
> /usr/local/lilypond/usr/bin/guile
>
> then readline works just fine.
Guile 2.0
> But not when guile is invoked with
>
> lilypond scheme-sandbox
Guil
On Sun, 2016-10-16 at 14:28 +0100, David Sumbler wrote:
> My ~/.guile file reads:
>
> (use-modules (ice-9 readline))
> (activate-readline)
>
> When I run 'guile' from the command line, readline works fine.
>
> But when I run 'lilypond sc
My ~/.guile file reads:
(use-modules (ice-9 readline))
(activate-readline)
When I run 'guile' from the command line, readline works fine.
But when I run 'lilypond scheme-sandbox' I get:
GNU LilyPond 2.19.48
Processing
Andrew Bernard writes:
> The lilypond scheme-sandbox documentation assumes you have the
> readline library enabled for guile, although it does not state this
> explicitly.
http://lilypond.org/doc/v2.16/Documentation/extending/scheme-sandbox>
states:
You can enter Scheme express
The lilypond scheme-sandbox documentation assumes you have the readline
library enabled for guile, although it does not state this explicitly.
Turning on readline makes the behaviour as stated in the manual.
I tried this with racket 5.3.3 also - same thing.
Readline is not enabled by default
(commands) with "begin"
in a case like this, as follows:
guile> (begin
(display a)
(newline))
HTH, and happy schemeing!
On Thu, May 2, 2013 at 8:31 PM, MING TSANG wrote:
>
>
> Hi lily user:
> I try lilypond scheme-sandbox. The highlight did not corre
Hi lily user:
I try lilypond scheme-sandbox. The highlight did not correspond to what
chapter 1 - scheme tutorial (extending.pdf) said: "2" is suppose displays on a
line, but it is not. Please refer to the copy of the run.
Thanks for the help,
Ming
Microsoft Windows [Versio
tain files to be loaded, so you
should look to the directory, path, etc. Make a copy first.
But when I try to start the sandbox, I get a "file not found" error:
MacTechDaddy:~ josephaustin$ open -a lilypond.app scheme-sandbox
The file /Users/josephaustin/scheme-sandbox does not ex
I'm a relative newbie to Lilypond,
using 2.16.2-1 on Mac OSX 10.6 (Snow Leopard).
I want to try some modifications,
and am trying to work through the tutorial in:
Manuals > Extending > Scheme Tutorial.
I haven't been able to get the scheme-sandbox to work.
I've download
- Original Message -
From: "Gilles THIBAULT"
To: "Gilles THIBAULT" ; "Carl Sorensen"
; ;
Sent: Sunday, June 13, 2010 9:18 PM
Subject: Re: Scheme sandbox
Oh no sorry ! I have posted the wrong file.
This one works in XP, without GUILE_LOAD_PATH.
Ho
Oh no sorry ! I have posted the wrong file.
This one works in XP, without GUILE_LOAD_PATH.
Hope it can be a work-around for Vista.
; runGuile.bat %%
@echo off
start "" /B /D "c:\Program Files\Lilypond\usr" guile
Gilles
___
lilypond-user ma
If I run guile without GUILE_LOAD_PATH I get the following...
C:\Users\Phil>guile
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "ice-9/boot-9.scm" in load path
The following runGuile.bat works in XP without using GUILE_LOAD_PATH,
perhaps it will work for Vista.
; runG
On 6/12/10 6:49 AM, "phil.burf...@talktalk.net"
wrote:
> - Original Message -
> From: "Carl Sorensen"
> To: ;
> Sent: Saturday, June 12, 2010 1:02 PM
> Subject: Re: Scheme sandbox
>
>
>
>> I don't use GUILE_LOAD_PATH in
On 6/12/10 6:49 AM, "phil.burf...@talktalk.net"
wrote:
> - Original Message -
> From: "Carl Sorensen"
> To: ;
> Sent: Saturday, June 12, 2010 1:02 PM
> Subject: Re: Scheme sandbox
>
>
>
>> I don't use GUILE_LOAD_PATH in
- Original Message -
From: "Carl Sorensen"
To: ;
Sent: Saturday, June 12, 2010 1:02 PM
Subject: Re: Scheme sandbox
I don't use GUILE_LOAD_PATH in my environment.
I just have my PATH include the directory with guile in it. But I have
installed guile separately f
On 6/11/10 10:26 AM, "phil.burf...@talktalk.net"
wrote:
> Thought I'd give scheme a try...
>
> first setup GUILE_LOAD_PATH=C:\Program Files\LilyPond\usr\share\guile\1.8
> then from command prompt entered guile and this is what I got...
I don't use GUILE_LOAD_PATH in my environment.
I just h
Thought I'd give scheme a try...
first setup GUILE_LOAD_PATH=C:\Program Files\LilyPond\usr\share\guile\1.8
then from command prompt entered guile and this is what I got...
C:\Users\Phil>guile
Backtrace:
In unknown file:
?: 128* [dynamic-wind # # ##f ()>]
?: 129* [#]
?: 130* (let* ((file #
72 matches
Mail list logo