Indeed it would.  I assumed that Ondrej was using sympify, but I guess  
he isn't.  It would be a good idea, though, for exactly this reason.   
I would also run it through the Mathematica and Maxima parsers in  
sympy/parsing, which I think will handle things like implied  
multiplication and inf instead of oo.

Aaron Meurer
On Oct 22, 2009, at 8:40 AM, Vinzent Steinberg wrote:

>
> On Oct 22, 2:39 am, "Aaron S. Meurer" <asmeu...@gmail.com> wrote:
>> I don't know how hard this would be, but one nice thing about
>> WolphramAlpha is that you can type an expression in just about any
>> format and it will parse it correctly.  Maybe we just need to make
>> sympify smarter, but it at least would be good if people could type ^
>> instead of **, if not more advanced stuff as well, 
>> likehttp://gamma.sympy.org/input/?i=3x+%2B+y%5E2
>> .
>
> Just using sympify on the user input should help for "^" IIRC.
>
> Vinzent
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to