Does anyone know of a good framework to implement this in, so that it
is easily extensible (something like the printer, only backwards)?
Obviously, we can implement the simple cases like \frac{}{} and ^
using regular expressions, but it would be nice to have a more
powerful (heuristic) parser in place, so that it's easy to extend to
do many more things.

Nonetheless, it would be good to have a module that starts even with
simple regular expressions, because then we will start to see what
needs to be done, and what the real limitations of it are.

Aaron Meurer

2011/11/15 Ondřej Čertík <[email protected]>:
> On Sun, Nov 13, 2011 at 3:25 AM, Vincent MAILLE <[email protected]> wrote:
>> OK, thanks for your answers. It's true that LaTeX is complexe to
>> parse. My question was juste for very simple expressions :
>>
>> \frac{..}{..} => (...)/(...)
>> 2x+x^2 => 2*x+x**2
>
> I think it's definitely doable, and someone just has to do it for
> simple expressions and then (if there is interest) it can be improved
> for more complex ones. It will never be able to parse 100% of all
> latex, but I can imagine it to work just fine for normal math that
> people use.
>
> 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.
>
>

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

Reply via email to