# Bestcode JbcParser v4.2

**JbcParser** is a Java library to **parse and evaluate mathematical expressions** given as strings at runtime.

JbcParser source code can be compiled with JDK 5, 6, 7 and 8. The binaries are compiled with JDK 1.5 for backward compatibility. You get the source code and the compiled jar when you buy this parser library.

## Math Parser for Java

JbcParser Math Parser library features include:

- Easy to use, simple class API.
- Comes with predefined functions.
- You can create custom functions/variables and get callbacks to your own functions in your source code.
- IVariableResolver to provide values for undefined variables.
- Function/variable names start with letters and can contain letters, numbers and ’_’.
- Optimization: Constant expression elimination for repeated tasks.
- Operators: +, -, /, *, ^
- Boolean Operators: <, >, =, &, |, ! ,<>, >=, <=
- Paranthesis: (, {, [
- Functions in the form of: f(x,y,z, ...)
- Function parameter calculations are only done if needed.
- List of predefined functions is available in the documentation.
- Provides localization support.
**Royalty free**distribution.**Source code is included.**

JbcParser is especially useful in scientific and engineering programs as well as financial spread sheet implementations.