Open jpcs opened 12 years ago
Yeah - I'm sure I will be interested in doing this.
If you get a chance to create an XQuery 3.0 test file that exercises all the language features that would help me know where the gaps are in the current implementation.
Steve
On Fri, Mar 2, 2012 at 3:35 AM, John Snelson < reply@reply.github.com
wrote:
Any chance you want to attempt to implement XQuery 3.0 syntax highlighting? There's an EBNF for MarkLogic extensions + XQuery 3.0 here:
https://github.com/jpcs/xqueryparser.xq/blob/master/lib/XQueryML30.ebnf
I'd love to help if I can, but I don't know Python.
Reply to this email directly or view it on GitHub: https://github.com/spig/pygments-xquery-lexer/issues/1
Hi Steve,
These personal projects are using XQuery 3.0:
https://github.com/jpcs/transform.xq https://github.com/jpcs/functional.xq https://github.com/jpcs/rbtree.xq
Mostly they're using higher order functions and function annotations. There's also the new "||" and "!" operators, switch expressions, multi-way typeswitch, and try/catch in them.
There's a bunch of other stuff not in them which I'll try to write a test file for: Things like EQNames, windowing, group by, context item declarations, and default values for external variables.
John
Any chance you want to attempt to implement XQuery 3.0 syntax highlighting? There's an EBNF for MarkLogic extensions + XQuery 3.0 here:
https://github.com/jpcs/xqueryparser.xq/blob/master/lib/XQueryML30.ebnf
I'd love to help if I can, but I don't know Python.