API for maxima?



There is no standard way to call Maxima from C/C++ at the present time.
Here are some options:

1) Use a system call to invoke the batch interface. The not-yet-released
maxima 5.9.0 has a standard way to run in batch mode. The only
documentation to date is available by running "maxima --help." "maxima
--batch=file.mac" will run maxima in batch mode on the file file.mac.

The documentation problem will be rectified before we release.

2) For more interactive use, you might look at the socket interface that
maxima and xmaxima use to talk to each other. Warning: this is uncharted
territory.

I am personally interested in the problem of communicating with programs
written in other languages, and would like to see a well-thought-out
standard in the future. Would you mind telling us exactly what you would
like to do? It would valuable input to the process of coming up with a
standard.

--Jim


On Sun, 2002-03-24 at 00:39, benhinkle@vzavenue.net wrote:
> hi,
> I'm interested in calling the "maxima engine" from C/C++ (or 
> by any method besides the standard GUI). I looked briefly at 
> the documentation and the mailing list archives, but I 
> couldn't find any reference to how to do this. Is it 
> possible? Maybe something like Mathematica's MathLink (or 
> whatever they call it)?
> 
> Thanks for any help,
> -Ben Hinkle
> benhinkle@vzavenue.net
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima