An open API service indexing awesome lists of open source software.

https://github.com/gitpaulo/aritree

Visualise your arithmetic expressions
https://github.com/gitpaulo/aritree

arithmetic-expression cytoscape postfix svelte visualization

Last synced: 4 months ago
JSON representation

Visualise your arithmetic expressions

Awesome Lists containing this project

README

          

# `Aritree`

Arithmetic expressions visualized in a binary tree representation.

![image](https://github.com/GitPaulo/aritree/assets/18451329/d7779ffb-1e35-478c-b0e6-b844176e0d46)

### TODO

- [ ] Allow changing rules in table view
- [ ] More operators?
- [ ] Stepper?

## Design

In a nutshell,

![](./.github/aritree_design.png)

## Developing

Once you've created a project and installed dependencies with `npm install`, start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## REF
- http://faculty.nps.edu/kmsquire/cs3901/section1/projects/p2/arithmetic.pdf
- https://brilliant.org/wiki/shunting-yard-algorithm/