calculator but its actually a programming language
This is a calculator i made that uses the same system as a programming language.
input -> tokens
tokens -> abstract syntax tree
abstract syntax tree -> a result
This is super unnecessary and took me way too long but yeah it works decent i guess. It can handle parentheses, negative numbers, exponents, and basic multiplication, division, addition, and subtraction.