An arithmetic calculator application
%> npm install
%> npm run build
%> cd app
%> open index.html
<expression> ::= <expression> "+" <term> | <expression> "-" <term> | <term>
<term> ::= <term> "*" <subterm> | <term> "/" <subterm> | <term> "%" <subterm> | <subterm>
<subterm> ::= <subterm> <binary_operator> <factor> | <factor>
<factor> ::= <unary_operator> <factor> | "(" <expression> ")" | <number>
<binary_operator> ::= "^" | "pow" | "toPower"
<unary_operator> ::= "ln" | "log" | "sqrt" | "squareRoot" | "neg" | "negated"
<number> ::= decimal numbers
Operators are listed from left to right in ascending precedence.
"+","-" << "*", "/", "%" << <binary_operator> << <unary_operator> << "(", ")"