Yeah, based on that spec a Lexer grammar shall be easy, even a Parser
one should not be hard.
If you need it give it a try!
On 12/30/24 13:06, Chris wrote:
Hey Orhan,
I googled a bit and unfortunately there is no antlr grammar for XQuery
but there is a ticket open at this repo:
https://github.com/antlr/grammars-v4/issues/3636
So first, what we need is a good grammar for all or for the most
important stuff. This can be probably handled out from this document:
https://www.w3.org/2002/11/xquery-xpath-applets/xquery-bnf.html
So ChatGPT could help here to try to create a proper g4 file for the
lexer.
The rest is implementation into NetBeans, which is not that hard. I'm
currently working on a 3rd party module for HTTP language and for this I
will update the antlr tutorial to an up to date version.
Cheers
Chris
Am 30.12.2024 um 18:24 schrieb Orhan Altun:
hi,
it seems that netbeans is still lacking support for XQuery Syntax
Support.
Is there any chance, to add Support for the next release? There should
be ANTLR and JavaCC Releases for XQuery 1.0-3.1
Kindly regards
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists