I wrote a little script to generate the ast for all of the sample $filter strings from chapter 4.5 of http://www.odata.org/documentation/odata-version-2-0/uri-conventions/#. When running the script I get errors for some of the filters, e.g. `$filter=Price add 5 gt 10` ``` odata-parser.js:5341 throw new this.SyntaxError( ^ SyntaxError: Expected "and" or "or" but "g" found. ``` Have a look at the commented lines of the attached script for all erroneous filters. Regards Helmut [index.js.txt](https://github.com/auth0/node-odata-parser/files/73125/index.js.txt)
I wrote a little script to generate the ast for all of the sample $filter strings from chapter 4.5 of http://www.odata.org/documentation/odata-version-2-0/uri-conventions/#. When running the script I get errors for some of the filters, e.g.
$filter=Price add 5 gt 10Have a look at the commented lines of the attached script for all erroneous filters.
Regards Helmut
index.js.txt