noolsjs / nools

Rete based rules engine written in javascript
http://noolsjs.com/
MIT License
949 stars 181 forks source link

Grammar enhancement #207

Closed DevSide closed 6 years ago

DevSide commented 7 years ago

New grammar

This new grammar can handle embedded expressions like : "arr[x + y] == 2" "a notIn [2, a * 4]" "Math.floor(n * n) > a" - Fix issue #152 "myFunc(n * n, a || b) > c"

It additionally introduces ^ as a pow operator and precise in the doc the bitwize operators are not supported.