Overview
A Flutter/Dart package for parsing and evaluating simple expression language with support for custom references. It enables dynamic computation within apps by interpreting expressions like '2 + 3 * x' where variables can be resolved from external sources. Ideal for forms, calculations, or rule-based logic, it supports multiple platforms including mobile, web, and desktop. The library is lightweight and designed for integration into applications requiring flexible, runtime expression evaluation.
Use cases
- Dynamic form calculations
- Rule-based business logic
- Real-time data transformations
- Interactive dashboards
- Configurable app behavior
- Mathematical expression evaluation
Key features
- Supports variable references
- Easy to integrate with existing code
- Cross-platform compatibility
- Lightweight parser engine
- Extensible reference resolution
- Safe expression evaluation
Suitable for
- Developers building dynamic forms
- Apps needing runtime math expressions
- Tools with configurable logic
- Educational apps with math features
- Applications with user-defined rules
Considerations
- Not suitable for complex mathematical functions
- Requires careful handling of untrusted input
- Limited to basic arithmetic and logical operations
- No built-in error recovery mechanisms
- Performance may vary with large expressions