This probably is doable, but we would need an actual parser in SymPy,
which is the difficult part.  If we had that, adding rules for
Mathematica functions would ideally not be hard.  See
https://github.com/sympy/sympy/wiki/parsing for some ideas on parsing.

More realistically, in
http://code.google.com/p/sympy/issues/detail?id=161, it is suggested
that for Maxima, Sage can be used.  So I'm wondering if Sage, or maybe
some other project has a parser for Mathematica that can put it in a
form that SymPy can read, or at least on close.
http://code.google.com/p/sympy/issues/detail?id=2864 is also related
to this.

Can you give an example of a Mathematica expression that you want to parse?

Aaron Meurer

On Tue, May 1, 2012 at 9:00 AM, [email protected]
<[email protected]> wrote:
> I doubt that any automated translation will produce quality code. The
> style of Mathematica code is much more functional than the object
> oriented python style. What you get from automatic translation will
> not be human-readable (it will be python but very obfuscated).
>
> So I am very pessimistic. However if you have any success with this it
> will be great for sympy.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to