/Syntax-Tree-Visualizer-Arithmetic-Expressions

A visualizer for the syntax tree of an arithmetic expression.

Primary LanguagePython

Syntax Tree For Arithmetic Expressions Visualizer

Description

Given a valid arithmetic expression (ex: (1+((2 * 5)*(3+4)))) outputs a graphical representation of the syntax tree.

  • Representaion of the previous expression:

c1

How to use?

In order to use you will need $\bf{python3}$ with $\bf{PyQt6}$, but I recommend just running it in $\bf{pycharm}$. To run just give the arithmetic expression as cmd line arg.