georgevanuta / Syntax-Tree-Visualizer-Arithmetic-Expressions

A visualizer for the syntax tree of an arithmetic expression.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A visualizer for the syntax tree of an arithmetic expression.


Languages

Language:Python 100.0%