julesfern / spahql

A query language for Javascript data. Extracted from Spah.
MIT License
325 stars 20 forks source link

Set comparison operators #17

Open dubiousdavid opened 11 years ago

dubiousdavid commented 11 years ago

I'd like to suggest the following as better alternatives than the curly bracket versions in place currently.

Subset |<| Superset |>| Intersection |^| Disjoint |!|

dubiousdavid commented 11 years ago

I pushed some code to https://github.com/dubiousdavid/spahql withe set and equality operators changed per the issues I opened. I also added the google closure compiler jar file to the repo to make building more portable. I ran tests and everything works as expected. The big when is the increased clarity, especially for the set operators. David