From 45388f2c12e7610f746d27163634b3b6d4ee035c Mon Sep 17 00:00:00 2001 From: mainzelm Date: Wed, 18 Sep 2002 11:21:06 +0000 Subject: [PATCH] Remove debugging output. --- scsh/libscsh.scm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/scsh/libscsh.scm b/scsh/libscsh.scm index e46b253..02501b9 100644 --- a/scsh/libscsh.scm +++ b/scsh/libscsh.scm @@ -1,6 +1,4 @@ ;;; This file is part of scsh. -;;; Copyright (c) 2002 by Martin Gasbichler and Richard Kelsey. -;;; See file COPYING. (define (return-from-vm n) (with-continuation (if #t #f) (lambda () n))) @@ -29,20 +27,20 @@ (lambda (k) (with-handler (lambda (cond more) - (display "error is "(current-error-port)) - (display cond (current-error-port)) - (newline (current-error-port)) +; (display "error is "(current-error-port)) +; (display cond (current-error-port)) +; (newline (current-error-port)) (k cond)) (lambda () (eval s-exp (user-command-environment))))))) (lambda args (cond ((null? args) - (display "null as result" - (current-error-port))) +; (display "null as result" +; (current-error-port))) ((null? (cdr args)) - (display "evaluated to:" (current-error-port)) - (display (car args)(current-error-port)) - (newline (current-error-port)) +; (display "evaluated to:" (current-error-port)) +; (display (car args)(current-error-port)) +; (newline (current-error-port)) (car args)) (else (display "multiple return values in s48-command" @@ -51,6 +49,9 @@ (display "s48-command got not exactly one s-exp" (current-error-port))))) +;; TODO write a procedure to be called time by time to let the +;; administrative threads run + ;; must be called from a running command processor (define (dump-libscsh-image filename) (dump-scsh-program (startup (user-context)) filename))