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

Add eXist-db syntax parser and implement pre-commit hook config #111

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

mcmeeking
Copy link

Implements the parser from #48 with some minor modifications to support unary lookups (? unclear on the correct terminology, I'm referring to this syntax for map lookups:

let $something := $ns:variable?key

) and to bring that branch up to date with master.

Also introduces pre-commit hook config for xqlint, so pre-commit can be pointed to this repo at a given revision and xqlint will be run on any files matching \.xq(l|m)?$.

I've tested this on xquery files with exist-db syntax, and have run grunt but have not added any additional tests as my JS is not strong at all.

Closes:

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

Successfully merging this pull request may close these issues.

2 participants