summaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-03-10 20:19:22 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-03-10 20:19:22 -0400
commit718cc7c73318b09d595ddc2072b74062430ae896 (patch)
tree60a0e505bdb4004f0d66ca4aa7ef8027e275d5b0 /sandbox
parentf0ae9c3b2a6ef4cef53a2040685053a66c7e8b71 (diff)
Don't start the REPL server upon importing (2d repl).
* 2d/repl.scm (start-2d-repl): New procedure. * examples/common.scm: Start the REPL server. * sandbox: Start the REPL server.
Diffstat (limited to 'sandbox')
-rwxr-xr-xsandbox4
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox b/sandbox
index f0daf68..4004ab1 100755
--- a/sandbox
+++ b/sandbox
@@ -38,10 +38,12 @@
(2d window)
(2d repl))
-(display "Welcome to the guile-2d sandbox. Happy hacking!\n")
+(start-2d-repl)
(add-hook! window-close-hook quit-game)
+(display "Welcome to the guile-2d sandbox. Happy hacking!\n")
+
(with-window (make-window #:title "Guile-2D Sandbox")
(run-game-loop))