What's not supported

The intent of JBEE is to be a pocket calculator component that can sit between the user interface and the application logic. It's job is to take raw user input and turn it into a number, the application logic can work with. The emphasis here being on comfort and correctness. In particular, JBEE was developed with financial applications, such as TradeTrax in mind which cannot tolerate rounding errors that may occur in expression evaluators based on the primitive double type.

This focus on being the middle man, parsing raw user input, one expression at a time results in a few design restrictions and excludes some features found in other expression evaluators:

  • No conditionals
  • No loops
  • No way of declaring variables or functions from within expressions.

There are no plans for adding these features as there is virtually no need for them in the outlined use case.