TomFrost / Jexl

Javascript Expression Language: Powerful context-based expression parser and evaluator
MIT License
563 stars 92 forks source link

-a(2,3) #113

Open dy opened 2 years ago

dy commented 2 years ago

Can't parse

TomFrost commented 2 years ago

This is a known issue in that Jexl cannot support binary operators and unary operators of the same symbol. Thus, ! is a legal unary operator, but -, since it's a binary operator, had to be implemented by making it part of the number type.

This is planned to be fixed!