Re: [xquery-talk] Updating xqDoc to current XQuery versions 1.0-ml and 3.1

2018-11-21 Thread Loren Cahlander
I have updated the xqDoc Antlr grammar to version 4 for XQuery.

I am sure that I probably missed something.  I would appreciate some peer 
review of my code and any suggestions that any of you might have.

https://github.com/lcahlander/xqdoc 



> On Jan 11, 2018, at 2:06 PM, Loren Cahlander  
> wrote:
> 
> I had previously been working on the xqDoc ANTLR and Java code to handle the 
> changes to the XQuery language.  The codebase that I downloaded included the 
> invoked functions and the referred to variables.
> 
> I have added annotations as well as some of the XQuery 3.1 additions into the 
> antler file 
> https://github.com/lcahlander/xqDoc/blob/master/src/org/xqdoc/xquery/parser/jul2017/XQuery.g
>  
> 
> 
> It requires the antlr-2.7.5 jar file.
> 
> I have checked in the code at https://github.com/lcahlander/xqDoc 
> 
> 
> It would be good to have test case XQuery files to run the parser against so 
> that it handles all of the enhancements to the language.
> 
> I think that it needs to become an EXPath module.
> 
> I would like feedback from folks.
> 



signature.asc
Description: Message signed with OpenPGP
___
talk@x-query.com
http://x-query.com/mailman/listinfo/talk

Re: [xquery-talk] Updating xqDoc to current XQuery versions 1.0-ml and 3.1

2018-01-14 Thread Loren Cahlander
Dan,

Can you help me with test XQuery files with all of the additions to XQuery 3.1?

I want to make sure that all cases are covered in the ANTLR file.

Thanks,
Loren

> On Jan 14, 2018, at 7:45 AM, Dan McCreary  wrote:
> 
> Loren,
> 
> Thank you very much for updating the ANTLR files.  I know that tools that 
> Sonar need the updated grammer files to be useful for XQuery 3.0.
> 
> https://github.com/malteseduck/sonar-xquery-plugin 
> 
> 
> It is generous of you to spend your own personal time to learn the complex 
> ANTLR grammar format and then share the fixes with the community!
> 
> - Dan
> 
> On Thu, Jan 11, 2018 at 1:06 PM, Loren Cahlander  > wrote:
> I had previously been working on the xqDoc ANTLR and Java code to handle the 
> changes to the XQuery language.  The codebase that I downloaded included the 
> invoked functions and the referred to variables.
> 
> I have added annotations as well as some of the XQuery 3.1 additions into the 
> antler file 
> https://github.com/lcahlander/xqDoc/blob/master/src/org/xqdoc/xquery/parser/jul2017/XQuery.g
>  
> 
> 
> It requires the antlr-2.7.5 jar file.
> 
> I have checked in the code at https://github.com/lcahlander/xqDoc 
> 
> 
> It would be good to have test case XQuery files to run the parser against so 
> that it handles all of the enhancements to the language.
> 
> I think that it needs to become an EXPath module.
> 
> I would like feedback from folks.
> 
> 
> 
> 
> -- 
> Dan McCreary
> Co-author: Making Sense of NoSQL 
> office: (952) 931-9198
> cell: (612) 986-1552
> skype: dmccreary47

___
talk@x-query.com
http://x-query.com/mailman/listinfo/talk

[xquery-talk] Updating xqDoc to current XQuery versions 1.0-ml and 3.1

2018-01-11 Thread Loren Cahlander
I had previously been working on the xqDoc ANTLR and Java code to handle the 
changes to the XQuery language.  The codebase that I downloaded included the 
invoked functions and the referred to variables.

I have added annotations as well as some of the XQuery 3.1 additions into the 
antler file 
https://github.com/lcahlander/xqDoc/blob/master/src/org/xqdoc/xquery/parser/jul2017/XQuery.g
 


It requires the antlr-2.7.5 jar file.

I have checked in the code at https://github.com/lcahlander/xqDoc 


It would be good to have test case XQuery files to run the parser against so 
that it handles all of the enhancements to the language.

I think that it needs to become an EXPath module.

I would like feedback from folks.

___
talk@x-query.com
http://x-query.com/mailman/listinfo/talk