Converts equations from standard mathematical notation, to javascript notation.
2 + 5x = 2+5xx^2 = pow(x,2)2x = 2*x, 3(4) = 3*(4)
* Asterisks indicates non-standard formations in mathematics such as (5+2)8 instead of 8(5+2). These are (by choice) interpreted as multiplication.
Version 0.2.3: Added support for negative sign following caret. For example, x^-2 = pow(x,-2). Note that negative sign preceding caret is not supported (by choice), i.e. -x^2 = -(x^2) instead of (-x)^2. This is in keeping with behavior of most hand-held graphing calculators.
Version 0.2.2: Bug fix regarding mishandling of constants and numbers preceding caret.
Version 0.2.1: Bug fixes: added implied multiplication for constant followed by number, stopped reserved constants LOG2E and LOG10E from becoming LOG2*E and LOG10*E, fixed mishandling of constants and functions preceding caret.
Version 0.2: Addded support for use of caret sign ("^") as power operator.
Version 0.1: Added support for implied multiplication and removes white space.