2 suggestions for batch() in xmaxima



On 4/23/06, Richard Fateman <fateman at cs.berkeley.edu> wrote:

> 1. Allow lines like this:
>
> :lisp (defun $atom_parts (x)(cons '($SET) (newvar x)))
>
> to be in a batch file.  The occasional quick patch in lisp could then
> be inserted into the maxima file.

Actually, batch already recognizes :lisp lines.
load doesn't, though. load uses a different mechanism
to read stuff in, so I guess it's load that needs patching here.

> 2. When echoing material from a batch file, echo the lines, not
> some displayed version.  e.g. I don't really want to see the program
> echoed  verbosely with stuff like
>    a
> -----
>    b

Maybe batch can display input expressions with grind.

Robert