This application allows you to visualize the abstract syntax tree (AST) created by the Calc parser. Enter an expression below and click "Visualize."
To step through a postorder traversal of the AST after it has been created, click "Step Through" and continue clicking "Next."
Note: It may take a few seconds to load at first since the server is hosted in a Heroku container that needs to start.
Enter an expression:
Result: