Python/Maxima integration, was: Summer of Code



On 4/17/06, David Joyner <wdjoyner at comcast.net> wrote:

> Regarding maxima <-> python, there is the CAS
> SAGE (sage.scipy.org), which is written in Python
> and includes maxima and matplotlib. It is a relatively
> young project, but you might be interested in looking into it.

SAGE appears to be some glue to get several math packages
(Maxima, GAP, PARI, etc), to talk to each other.
Since there is no common low-level representation, I'm guessing
this must comprise a lot of piping input strings and output strings
from point A to point B.

I guess that's workable with sufficient effort, but what would be
a lot more interesting from a programming pov would be a common
expression representation, such that it's not necessary to parse
and unparse on every round trip.

For extra fun, implement macros or some other form of code=data
for Python. There might already be a PEP for Python macros,
not sure about that.

For what it's worth,
Robert Dodier