Hi all, 

Ondrej and I have been discussing changes for sympy gamma that would make 
the project more useable for the Mathpix project (http://mathpix.com/). 
 Our main issues with the software are the following:

1.  Evaluation of Sympy expressions is string based and uses 'eval'.  This 
is problematic for us as we are using a Latex parser which directly 
generates a Sympy 
object: https://github.com/augustt198/latex2sympy/tree/master.  

2.  Plotting is done server side and is not robust.  Computing the points 
should be done client side in javascript for greater responsiveness.  

3.  Too much display logic in templates and server side code.  For example, 
all the code in 
https://github.com/sympy/sympy_gamma/blob/master/templates/card.html could 
be distilled into a single ReactJS component.  Moving as much of the code 
as possible into Javascript would go a long way into making the code easier 
to embed in people's web app.  There is too much dependence on Django and 
the Google App Engine.  Porting the app to using Flask should be 
straightforward, but this is far from being the case.  If SympyGamma was a 
thin API to Sympy it would be much easier to use / maintain.  

Best,
Nico

-- 
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 https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/08ea23d0-1fb5-4bdb-a23f-de3f0337651c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to