From ed97fad38db1b2ee109d2c3b292271b37b01a117 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 2 Sep 2013 17:23:38 -0400 Subject: Add some documentation. --- 2d/repl/repl.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '2d/repl/repl.scm') diff --git a/2d/repl/repl.scm b/2d/repl/repl.scm index e6077cd..253789d 100644 --- a/2d/repl/repl.scm +++ b/2d/repl/repl.scm @@ -193,9 +193,11 @@ (abort-on-error "parsing expression" (repl-parse repl exp)))))) (run-hook before-eval-hook exp) - ;; Insert thunk into repl-mvar. The + ;; Insert thunk into repl-mvar. The ;; game loop will schedule it and run - ;; it on the next tick. + ;; it on the next tick. We also pass + ;; along the input/output/error ports + ;; and the REPL stack. (put-mvar repl-input-mvar (list -- cgit v1.2.3