Xeverous / filter_spirit

Advanced item filter generator for Path of Exile that uses it's own DSL and online item price APIs
GNU General Public License v3.0
36 stars 7 forks source link

optional bounds for price queries #9

Closed Xeverous closed 5 years ago

Xeverous commented 5 years ago

There should be a way to specify only lower or upper price bound of the query. Currently if you want 100c+ divination cards you can write $divination | price(100, 999999) however such workaround:

Current idea: _ keyword, indicating "no value". That is, $divination | price(100, _). One might propose price(100,) but it might look weird and I would like to avoid optional tokens in the grammar.

Any thoughts?

Xeverous commented 5 years ago

Ready in a4dd1332bc1b84b8d46ad3e717f4ced874b8b34a. Needs documentation

Xeverous commented 5 years ago

Documentation added in 311547a790f3d640a77fc1a67552f2d56bf3d445.