[antlr-interest] XQuery Grammar?

Nigel Sheridan-Smith nbsherid at secsme.org.au
Tue May 3 13:36:00 PDT 2005


 

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Muhammad Ali
Sent: Tuesday, 3 May 2005 9:20 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] XQuery Grammar?

 

Hello everyone,

I have been unsuccessful in finding an XQuery Grammar for antlr on the web
so far. Does such a thing exist?
If not, could anyone give me pointers on how to prepare an XQuery Grammar
for use with antlr? Any issues that I need to be aware of?

Thanks.

Ali

 

 

The biggest problem is usually left-recursion – most grammars are specified
as LALR or LR compatible, but ANTLR uses LL(k). There are a few good pages
on the web that need to explain what to do, if that is indeed the case.

 

http://www.javadude.com/articles/alrtoll.html

http://www.zenspider.com/Languages/PCCTS/LR2LL.html

 

Nigel

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050504/1ace9333/attachment.html


More information about the antlr-interest mailing list