From: David Kastrup Date: Mon, 5 Dec 2011 10:14:48 +0000 (+0100) Subject: Provide Scheme sandbox. X-Git-Tag: release/2.15.22-1~24 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ae91f1e066925892308a1171df9399eeb0ecc77c;p=lilypond.git Provide Scheme sandbox. --- 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)