My calculator uses a thing called Peggy (formerly PEG.js) parser generator.
it can calculate 1+1.
i want it to be able to handle polynomials like (a+b)^2 => a^2 + 2ab + b^2.
https://calculator-online.github.io/
moved the repo to https://github.com/calculator-online/calculator-online.github.io