[Maxima] building Maxima into another project
fateman at cs.berkeley.edu
Mon May 3 15:06:47 CDT 2010
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.
> Maxima mailing list
> Maxima at math.utexas.edu
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima