From ae91f1e066925892308a1171df9399eeb0ecc77c Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 5 Dec 2011 11:14:48 +0100 Subject: [PATCH] Provide Scheme sandbox. --- Documentation/extending/scheme-tutorial.itely | 9 ++++++++- ly/scheme-sandbox.ly | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 ly/scheme-sandbox.ly diff --git a/Documentation/extending/scheme-tutorial.itely b/Documentation/extending/scheme-tutorial.itely index 7951cbe790..f7bf2a027c 100644 --- a/Documentation/extending/scheme-tutorial.itely +++ b/Documentation/extending/scheme-tutorial.itely @@ -72,7 +72,14 @@ see @rlearning{Other sources of information}. Alternatively, Windows users may simply choose @q{Run} from the Start menu and enter @q{guile}. -Once the guile sandbox is running, you will receive a guile prompt: +However, a hands-on Scheme sandbox with all of Lilypond loaded is +available with this command line: +@example +lilypond scheme-sandbox +@end example + +@noindent +Once the sandbox is running, you will receive a guile prompt: @lisp guile> diff --git a/ly/scheme-sandbox.ly b/ly/scheme-sandbox.ly new file mode 100644 index 0000000000..eb38380256 --- /dev/null +++ b/ly/scheme-sandbox.ly @@ -0,0 +1,5 @@ +\version "2.14.0" +#(use-modules (ice-9 readline)) +#(activate-readline) +#(newline) +#(scm-style-repl) -- 2.39.5