With JEP 3.0, a new component architecture was introduced. It allows plugable components, giving tremendous flexibility for customizing JEP. A total of 8 components are employed, as shown below.
For each of the components you can either use a built-in implementation, or you can create your own implementation.
JEP comes with many components built-in. When creating a Jep
instance using the default constructor, the StandardComponents
set is loaded. The standard components include the standard parser and the standard evaluator. In addition to those the ConfigurableParser and the RealEvaluator are also available. The following listing gives an overview of the components available in JEP 3.
Standard components (the default component set)
com.singularsys.jep.standard.StandardComponents
BigDecimal components
com.singularsys.jep.bigdecimal.BigDecComponents
Other components:
double
arithmetic and functions)