I wonder if there are any good open source mathematical expression  
parsers out there that we could use their regular expressions.

Aaron Meurer
On Oct 22, 2009, at 7:24 PM, Ondrej Certik wrote:

>
> On Thu, Oct 22, 2009 at 6:23 PM, Ondrej Certik <ond...@certik.cz>  
> wrote:
>> On Thu, Oct 22, 2009 at 6:07 PM, Aaron S. Meurer  
>> <asmeu...@gmail.com> wrote:
>>>
>>> I think whatever smart parsing we implement should be implemented
>>> right in sympify, that way we can benefit from it in regular SymPy
>>> too.  Maybe we could add a flag to sympify to only work strictly to
>>> convert stuff to sympy expressions with python syntax like it does  
>>> now
>>> and another option to be smart enough to handle implied multiply,
>>> implied function calls (like integrate x dx or sinx), the ability to
>>> recognize that something is a matrix (like [[1, 0], [0, 1]]), and  
>>> so on.
>>
>> Yes, I think most of the logic should be in sympy proper. I think it
>> could be turned on with something like
>
> forgot to finish the sentence:
>
> sympify("integrate sin x  dx", clever=True)
>
> or something like that.
>
> Ondrej
>
> >


--~--~---------~--~----~------------~-------~--~----~
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