|mathematical expressions _Maverick_@web.de (Seidl Markus) (2003-05-06)|
|Re: mathematical expressions email@example.com (Rajesh N Thipse) (2003-05-12)|
|Re: mathematical expressions bobduff@shell01.TheWorld.com (Robert A Duff) (2003-05-13)|
|Re: mathematical expressions firstname.lastname@example.org (2003-05-13)|
|Re: mathematical expressions email@example.com (2003-05-15)|
|Re: mathematical expressions firstname.lastname@example.org (Guillermo Phillips) (2003-05-15)|
|From:||"Seidl Markus" <_Maverick_@web.de>|
|Date:||6 May 2003 01:29:02 -0400|
|Posted-Date:||06 May 2003 01:29:02 EDT|
I want to write a parser which converts sth like "5+5^2" in an image >
5+5² < (i mean converting from mathematical expression to how you
would write them with your own hand...)
My Problem: for example I write a rule like
<term> ::= 'sqrt(' <term> ')'
How can i draw the squareroot, when i have the following expression:
sqrt(sqrt(sqrt(5))) ? I think im stuck there.I think i cannot draw
the first square because i dont know how big and long i have to made
it, and i cannot draw the last term, because i don't know where i have
to draw them ( distance between the left edge of the image) ....
can anyone give me a tip ?
thanks for reading, and sorry for my english ...
Return to the
Search the comp.compilers archives again.