Hello Robert,
> Is it possible to use maxima-generated lisp-files in gcl (or any other
> lisp-implementation)?
> Loading the file "maxima-package.lisp" and afterwards the
> maxima-generated lisp-file fails.
If you want to work with Maxima expressions and call Maxima functions
from Lisp, probably the easiest way to do that is to start Maxima
and then call the to_lisp function to get a Lisp prompt.
Then you can call any Lisp or Maxima functions.
(%i1) to_lisp();
Type (to-maxima) to restart, ($quit) to quit Maxima.
MAXIMA> (m+ '$x '$y)
((MPLUS SIMP) $X $Y)
MAXIMA> (to-maxima)
Returning to Maxima
(%o1) true
(%i2)
See "Lisp and Maxima" in
http://maxima.sourceforge.net/docs/manual/en/maxima_toc.html
and also "Lisp and Maxima" in
http://maxima.sourceforge.net/docs/tutorial/en/minimal-maxima.pdf
You don't mention how the Maxima-generated Lisp file was generated.
If it was generated by the Maxima translation functions (translate_file
and so on), my advice is steer away from that -- there are bugs in
the translation code, and in any event you will probably be able to
accomplish what you want without resorting to translation.
For what it's worth & hope this helps,
Robert Dodier