Replace uses of the deprecated function GENTEMP in share
[maxima.git] / archive / src / evaluate.lisp
blobbf09b60419b62421ba4ee4825b630f8e214e5fd9
1 (in-package "MAXIMA")
3 ;; echo "integrate(1/(1+x^2),x);" | maxima -load /home/wfs/cvs/maxima/src/evaluate.lisp -batch
4 ;; echo "separator:\"\";integrate(1/(1+x^3),x);2+4;" | maxima -load /home/wfs/cvs/maxima/src/evaluate.lisp -batch
6 (setq $separator "xxxxxx")
8 (defun read-eval ()
9 (let ((eof '(nil)) tem val $display2d more)
10 (sloop while (not (eq (setq tem (dbm-read *terminal-io* nil eof)) eof))
12 (if more ($print $separator) (setq more t))
13 ($print (meval* (third tem)))
17 ($quit)
20 (read-eval)