File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed
Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change 1010 (format *error-output* " Write ~s or send EOF to quit" :quit )
1111 (with-standard-io-syntax
1212 (let ((*print-circle* t )
13- (uiop :*lisp-interaction* t ))
14- (loop (format *error-output* " ~% > " )
15- (let ((input (read *standard-input* nil :quit )))
16- (if (eql input :quit )
17- (progn
18- (terpri *error-output* )
19- (return ))
20- (let ((values (multiple-value-list (eval input))))
21- (dolist (value values )
22- (format t " ~s " value)
23- (finish-output )))))))))
13+ (*print-readably* nil )
14+ (uiop :*lisp-interaction* t )
15+ ; ; Re-enable the disabled debugger.
16+ #+ sbcl
17+ (sb-ext :*invoke-debugger-hook* nil ))
18+ (handler-bind ((error #' invoke-debugger ))
19+ (loop (format *error-output* " ~% > " )
20+ (let ((input (read *standard-input* nil :quit )))
21+ (if (eql input :quit )
22+ (progn
23+ (terpri *error-output* )
24+ (return ))
25+ (let ((values (multiple-value-list (eval input))))
26+ (dolist (value values )
27+ (format t " ~s " value)
28+ (finish-output ))))))))))
2429
2530(defun main (args)
2631 (declare (ignore args))
You can’t perform that action at this time.
0 commit comments