1.1.1 Scheme sandbox

The LilyPond installation includes the Guile implementation of Scheme. On most systems you can experiment in a Scheme sandbox by opening a terminal window and typing ‘guile’. On some systems, notably Windows, you may need to set the environment variable GUILE_LOAD_PATH to the directory ../usr/shr/guile/1.8 in the LilyPond installation. For the full path to this directory see Other sources of information. Alternatively, Windows users may simply choose ‘Run’ from the Start menu and enter ‘guile’.

However, a hands-on Scheme sandbox with all of Lilypond loaded is available with this command line:

lilypond scheme-sandbox

Once the sandbox is running, you will receive a guile prompt:

 
guile>

You can enter Scheme expressions at this prompt to experiment with Scheme.


其它语言:deutsch, español

LilyPond — Extending