Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XQuery 3.0 #1

Open
jpcs opened this issue Mar 2, 2012 · 3 comments
Open

XQuery 3.0 #1

jpcs opened this issue Mar 2, 2012 · 3 comments

Comments

@jpcs
Copy link

jpcs commented Mar 2, 2012

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.

@spig
Copy link
Owner

spig commented Mar 6, 2012

Yeah - I'm sure I will be interested in doing this.

@spig
Copy link
Owner

spig commented Apr 3, 2012

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:
#1

@jpcs
Copy link
Author

jpcs commented Apr 4, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants