Demo project of a simple calculator that cals numerical results from strings.
The calculator is able to parse terms (strings) that follow certain conditions:
- One operator per subterm. E.g. ((4+3)*(6-1))+4 works. 4+5-6 does not.
- Numbers < 0 cannot be used in query.
- Queries need to be encoded in base64. E.g. localhost/calculus?query=KCgxLjIrNSkgKyAoMSo1KSkgLTQ=
- Calculator merely processes +,-,*,/ operations.