/Calculator

Infix parser

Primary LanguageJava

Calculator

Infix parser

"2 * 3 - (- -(--5)) * x" and other are supported. The result of parsing is a function that takes number parametres like x, y, z.

The program handles errors, including:

  • Parsing errors;
  • Expression calculation errors.