You are right, I don't need to convert the whole project. What I need for my 
current project is some school math (deriving/integrating/solving functions 
like "x^2", "x^3-3x+2", "sin(x)", "log(x)" etc.). I don't need most of the 
other code e.g. plotting.

So before refactoring the code I should probably check which modules I need 
to convert.

I forked sympy at github (I hope that I have done that right, I have never 
worked with it before...) and created a branch sympy2js where I sorted out 
some modules like plotting/benchmark.

Then I created a file runmin.py which contains:

from sympy.core.symbol import Symbol
print Symbol('x')

So I now want to sort out all modules that are not needed for this simple 
code and then try to refactor only the needed modules.

But when I for example delete the tensors folder I get some errors because 
it is included in many other modules. How should I find out which modules I 
can delete and which not? Do you have a list of the minimum required 
modules?

I don't think that eval() is supported by pyjamas. For example "print 
eval('4*4')" compiles fine but gives an error at runtime in the browser.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/jQKNmtFhCq4J.
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