This is a demo page for a recursive expression parser that I wrote in JavaScript. Write a mathematical expression (or leave it empty to use the default) in the text box below and press the button to get a parsed JSON representation.

You can use this JSON Tree Diagram Viewer to visualize the output.