v1.16.0
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy, safety, and speed.
In this release:
- Improved VM speed by 5%-15% (#521)
- Improve AST printing for boolean operators
- Improved type checker (#527)
- Added option to override built-ins (#522)
- Added method to get AST tree from program:
.Node()
(#528) - Added new
Valuer
patcher (#525) - Added
expr.WarnOnAny()
option - Changed
expr.As*()
options behavior to acceptany
by default - Fixed type checker to visit all arguments of func even if arguments count mismatch
- Fixed type propagation in AST for
any
type in type checker - Fixed context patcher (#526)
- Fixed race condition in working with variables (#523)
- Fixed pipeline and call parsing
Addition
In addition to open-source version of Expr, we have an embeddable Expr Editor and Expr Pro packages.