Parse math strings to an AST suitable for symbolic manipulation.
- flattened add/sub operations
- flattened mul/div operations
- equations and inequalities
- absolute value, e.g.
||x - y| - |y - z|| - functions, e.g.
f(x, y, g(u, v)) - multi-char identifiers, e.g.
atan2(dy, dx) - implicit multiplication, e.g.
(x)(y),2x,a b
yarn installnpm run buildnode demo.js