That would probably be useful. I guess we could ship that with SymPy. But I guess first we should actually have a SymPy level function to do the same thing. Right now, all we have is sympify(), but as we are seeing, that is not nearly fine enough to handle our future parsing needs (unless we want to just bundle it with a thousand keyword arguments).
Also, when we finish merging isympy and the sympy notebook extension, something like isympy -I -c notebook will open the notebook in a mode similar to isympy, except all undefined variables will automatically be parsed as Symbols, and all integer literals will be parsed as Integer (so "1/2" will give Rational(1, 2)). This already works with the regular console with isympy -I, so I'm just saying that having it in the notebook as well will be yet another advantage of merging the ipython sympy extension and isympy. Aaron Meurer On Fri, Sep 21, 2012 at 2:40 PM, Stefan Krastanov <[email protected]> wrote: > There were talks from contributors about implementing better parsing > for sympy gamma. > > I would like to toss in the idea of implementing an ipython cell magic > parallel to that. Something similar to the natural input of > Mathematica. > > -- > 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.
