Mathematica to maxima



I guess I could also have changed that file this way:

   blah
   blah
   blah


to

(meval '(($stringout) "foobar.mac"
     blah
     blah
     blah
))


and then loading that file into a macsyma would produce
the file foobar.mac with the corresponding macsyma commands.

In principle the mockmma could be loaded into the same
lisp as the maxima.   Another route would be to
implement inside the maxima, all the functionality that
you use from mathematica, but of course calling the
appropriate maxima functions as needed for integration,
factoring, etc.

Right now this is a little tricky because Mockmma really
works on a bothcases system e.g. Sin Or And etc.  and
Maxima source code assumes single case, and depends on
it.  When we convert the source code to uniform lower
case, things should work better.

RJF




Daniel Martins wrote:

> Two questions:
> 
> 1) the first part 
> 
> Mathematica -> lisp
> 
> was performed on Mathematica directly or via Mock-Mma ??
> 
> If was used Mock-Mma which version of lisp did you use? I have here
> clisp and gcl.
> 
> 2) The second part lisp -> macsyma was performed using 
>  maxima function dispfun?  like eg
> 
> (C1) dispfun(lisp_form);
> 
> Anyway, thanks for the reply. If someone else has a different route to
> translate Mathematica files to Macsyma's please let me know
> 
> Daniel
> 
> PS I will try for a couple of days to repeat your steps with the other
> modules. 
> 
> 
> 
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>