Expresso - Java Expression Evaluator
Expresso is a lightweight, zero-dependency Java expression evaluator library that allows you to evaluate dynamic expressions in your Java applications.
Features
- Zero external dependencies - pure Java implementation
- Simple and intuitive expression syntax
- Support for variables, literals, and function calls
- Property access on objects and collections
- Null-safe property access and array access
- Null coalescing operator for default values
- Built-in string, math, and logic functions
- Custom function registration
- Type-safe evaluation
- Comprehensive error handling
Quick Start
Add Expresso to your project using Maven:
<dependency>
<groupId>work.ghassen</groupId>
<artifactId>expresso</artifactId>
<version>1.0.0</version>
</dependency>
Requirements
- Java 17 or higher
- Maven 3.6 or higher (for building)