Adding the EBNF grammar of the Filter language for the minimal API, with tests (all tests pass on my machine, Ubuntu 12.04).
Two versions of the grammar are provided for discussion: a "flat" language grammar (grammars/flat-filters.ebnf), which tries to follow Leiden CECAM discussions to the closes, and specifies just one level of braces allowed, and usual expression grammar (grammars/filters.ebnf) that permits arbitrarily deep nesting of braced subexpressions. Since both grammars are of comparable complexity, I would advocate implementing full depth expressions in the v1 of the min API, provided that implementers are not too unhappy with it (I am not :)
All bugs are mine :). If you find any, please let me know, I'll work to get fixes.
Adding the EBNF grammar of the Filter language for the minimal API, with tests (all tests pass on my machine, Ubuntu 12.04).
Two versions of the grammar are provided for discussion: a "flat" language grammar (grammars/flat-filters.ebnf), which tries to follow Leiden CECAM discussions to the closes, and specifies just one level of braces allowed, and usual expression grammar (grammars/filters.ebnf) that permits arbitrarily deep nesting of braced subexpressions. Since both grammars are of comparable complexity, I would advocate implementing full depth expressions in the v1 of the min API, provided that implementers are not too unhappy with it (I am not :)
All bugs are mine :). If you find any, please let me know, I'll work to get fixes.
Cheers, Saulius