;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: lml.cl,v 1.7 2002/09/16 09:43:51 kevin Exp $
+;;;; $Id: lml.cl,v 1.8 2002/09/16 09:45:50 kevin Exp $
;;;;
;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(if (eql ch #\()
;; Starting top-level ,(
(progn
- (princ curr-string)
+ (lml-print curr-string)
(setf (fill-pointer curr-string) 0)
(setq got-comma nil)
(vector-push #\( curr-string)
(vector-push-extend #\) curr-string)
(let ((result (eval (read-from-string curr-string))))
(when result
- (princ result)))
+ (lml-print result)))
(setf (fill-pointer curr-string) 0))
;; read comma, then non #\( char
(progn
(progn
(setq got-comma nil)
(vector-push-extend ch curr-string)))))
- (princ curr-string))
+ (lml-print curr-string))
t))