On Thu, Feb 17, 2011 at 6:42 AM, Christophe BAL <[email protected]> wrote: > Hello. > >>>> SymPy is quite close to replace Mathematica for most basic things. >>>> Some features are still missing though, so I will try to implement >>>> those, but I wanted to discuss my plan here too, in case you would >>>> have some suggestions, comments: > > I think that the better way to do that would be to manage sympy like a big > library as PyQt for example with a structure looking like the following one > : > > 1) One module for symbolic calculations. > > 2) One module for numeric calculations. > > 3) One module for plotting. A plotting class "easy" to extend would be a > good thing. For example, this will allow exporting plots for pstriks or tikz > formats so as to have LaTeX outputs. > > >>>> the logic and the class will be in sympy, but to be actually usable, >>>> it will need some frontend (e.g. browser+ javascript), or Qt GUI. The >>>> GUI part will not be in sympy. > > PyQt and PySide have one very good feature : the webkit tool. It is possible > to use in a GUI HTML pages and applets to display formulas using MathJax for > example, and graphics using JavaView (for this last one there is a problem > of licence). > The user can type things in the HTML page and a simple JavaScript can be > used to type things in a textarea for example, and then the text will be > send to Python for "sympy manipulations". > > This approachs have the advantage to reuse an HTML frontend (browser+ > javascript).
Yes, exactly. That is the way to do it, to only write a nice javascript frontend once, and use it both for the online application, as well as a desktop application. Ondrej -- 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.
