Re: mathematical expressions

Rajesh N Thipse <>
12 May 2003 01:19:16 -0400

          From comp.compilers

Related articles
mathematical expressions (Seidl Markus) (2003-05-06)
Re: mathematical expressions (Rajesh N Thipse) (2003-05-12)
Re: mathematical expressions (Robert A Duff) (2003-05-13)
Re: mathematical expressions (2003-05-13)
Re: mathematical expressions (2003-05-15)
Re: mathematical expressions (Guillermo Phillips) (2003-05-15)
| List of all articles for this month |

From: Rajesh N Thipse <>
Newsgroups: comp.compilers
Date: 12 May 2003 01:19:16 -0400
Organization: Compilers Central
References: 03-05-033
Keywords: parse, comment
Posted-Date: 12 May 2003 01:19:16 EDT

    One way to get rid of this problem is - use parenthesis.."(" ")"

    The character which represents "sqrt" will be something like "V"
(without any horizontal bar)
          sqrt(sqrt(sqrt(5))) can be written as V(V(V(5)))
    otherwise not only the length of the "sqrt sign" would be a problem but
        the height of characters following that...
      e.g. in V(2 + V(V(V(V(V(V(5))))))) the height/size of 2 and 5 cannot
be same....


Seidl Markus wrote:

> Hello :)
> I want to write a parser which converts sth like "5+5^2" in an image >
> 5+5=B2 < (i mean converting from mathematical expression to how you
> would write them with your own hand...) ...

[ You should also look at eqn, the well known unix equation typesetting
package, and the similar equation part of LaTeX. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.