On Thursday, 3 October 2013 18:40:26 UTC+1, F. B. wrote:
>
>
>
> On Thursday, October 3, 2013 9:50:05 AM UTC+2, Joachim Durchholz wrote:
>>
>>
>> ... that's giving me a thought though: Maybe it's a good idea to make a 
>> Sympy-to-whatever-language translation. On Jython, a C++ library just 
>> doesn't make sense, but it would allow experimentation with different 
>> languages. 
>>
>
> That would be an enormous amount of time. It's just hard to make a Python 
> to C++ translator, I wouldn't imagine a translator to any language.
>
> Besides, it is a very annoying task, you have to parse AST and define a 
> generic format, maybe even some translation stages. Unless you mean to try 
> some artificial intelligence approaches, such as translating some example 
> files and make the translator learn how to do it on the remainder of the 
> code. 
>

I do know of http://rosecompiler.org/ which supposedly does this for the 
big languages, but I have
absolutely no experience with it - maybe someone else on the list could 
fill in the gaps and present their view on using it?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to