Mike Hansen wrote:
> On Mon, May 3, 2010 at 7:25 AM, Carter, Nathan <NCARTER at bentley.edu> wrote:
>
>> Is there a how-to for integrating Maxima into other projects? Perhaps I just didn't find it in my searching. If not, is there anyone to whom I could go for advice?
>>
>
> There's a lot of (unorganized) information on this at
> http://trac.sagemath.org/sage_trac/ticket/6781 . It uses ECL to
> access Maxima through a C-library interface. It is actually pretty
> robust and usable. This
> http://trac.sagemath.org/sage_trac/ticket/7377 switches Sage to use
> Maxima only through ECL instead of the current "stdin/stdout"
> interface and it passes all tests.
>
> So, there are some ideas there.
>
> --Mike
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
There are at least 3 different approaches here.
1. send maxima a command line as a string and get some string back.
2. send maxima a string which is a lisp expression and get a lisp string
back.
3. call a lisp function, including maxima functions, with data that is
lisp data (a pointer to lisp stuff)
I think that Sage used to do 1.
I think that Sage can now do 2. (If I understand what Hansen's trac
stuff is saying)
It is possible to do 3.