Convert an infix expression to MathML

Using the CGI http://icm.mcs.kent.edu/cgi-bin/infix2mathml on icm.mcs.kent.edu (a virtual host on eagle.cs.kent.edu), this demo shows how to access the converter and how to dynamically insert result into a web page through DOM.

To try the demo, enter an infix expresson and click the convert button.

The URL (get request)

The get request to obtain your conversion is shown below

 

where the expr is your input string url-encoded.

Click the above link to see the source MathML generated which contains both Presentation code and Content code.





### usage:
### http://icm.mcs.kent.edu/cgi-bin/infix2mathml?
###         expr=<the infix exp>&format=<ie, nn, mathml or mathplayer>
###         if format is nn, a NN DOCTYPE and <html> ...<html>
###         enclosure is generated around the conversion
###         output <math  > ... <math>
###         if format is ie, a mathplayer header is generated for IE
###         if format is mathml,  just  ...  will be generated
###         if format is mathplayer   ...  will be benerated
###         by default the incoming expression is not simplified
###         before conversion.  Setting simplify=yes causes
###         simplification before conversion.