It might be the case that you have something like
/* And now for something completely different: */
:lisp (print "BOOOM!!!")
in a .mac file you then want to batch
. But, this produces
incorrect syntax: : is not a prefix operator
:l
^
and might make you think :lisp cannot be used in a file processed by batch
.
It would be nice to have that fixed, or at least mentioned in the docs that you cannot use :lisp after a comment.
(Currently) one can not use
:lisp
after anything, not even a single space character.:lisp
must be at the beginning of the line.For me that would be okay, if it would be documented.
I mentioned that now in the documentation, see commit: [8816f0]
Related
Commit: [8816f0]
The
:lisp
construct has several other known limitations as well:https://sourceforge.net/p/maxima/mailman/message/37128965/
If you're interested, the
lisp_eval
described in that post is now in Maxima under the nameeval_string_lisp
.