Comparison with expr
antonmedv opened this issue · 2 comments
antonmedv commented
Comparison with expr
generikvault commented
Hi, thanks.
I don't know this lib but atr first glance I see thre differents:
antonmedv/expr supports strict type safety. Gval operators try to convert types automatically.
Both libs support custom functions and variables but gval is more modular. It supports custom infix, prefix and postfix operators and even completly custome parsed and interpreted sections of the expression.
There are some syntax differences like not
vs !
or matches
vs ~=
antonmedv commented
👍