On 8/18/07, Yigal Asnis <yigalasnis at yahoo.com> wrote:
> My question is, how can I call Maxima from within a
> Lisp program?
>
> I read in Maxima tutorial: "The Lisp function mfuncall
> calls a Maxima function", but when I try it in my
> clisp, I get "mfuncall is undefined". I think I need
> to load some Maxima's library but I don't know what
> exactly, Maxima consist of many .lisp files...
Yigal, an installed Maxima system is essentially a Lisp runtime
plus all the built-in Maxima functions. Probably the easiest way
to get started is to execute Maxima and then load your
own Lisp function which replaces the function
MACSYMA-TOP-LEVEL (defined in src/macsys.lisp).
Not sure which documents you have read. Anyway here are some
that might be helpful.
http://maxima.sf.net/wiki/index.php/Maxima%20internalshttp://maxima.sourceforge.net/wiki/index.php/outline%20of%20Maxima%20internalshttp://maxima.sourceforge.net/docs/tutorial/en/minimal-maxima.pdf
Also see "Lisp and Maxima" in the reference manual.
best
Robert Dodier