]> git.donarmstrong.com Git - lilypond.git/commitdiff
Provide Scheme sandbox.
authorDavid Kastrup <dak@gnu.org>
Mon, 5 Dec 2011 10:14:48 +0000 (11:14 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 9 Dec 2011 08:03:16 +0000 (09:03 +0100)
Documentation/extending/scheme-tutorial.itely
ly/scheme-sandbox.ly [new file with mode: 0644]

index 7951cbe7907390d560c773c1b6b2e906e890d2a1..f7bf2a027ca37ce9ccf3fe4d08e92e44b90f01b4 100644 (file)
@@ -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 (file)
index 0000000..eb38380
--- /dev/null
@@ -0,0 +1,5 @@
+\version "2.14.0"
+#(use-modules (ice-9 readline))
+#(activate-readline)
+#(newline)
+#(scm-style-repl)