[antlr-interest] ter status; was: Re: XPath 1 Grammar in V3 b6

Terence Parr parrt at cs.usfca.edu
Fri Mar 2 09:15:01 PST 2007


Hi Alex,

Thanks for the bug reports etc...  I'm still completely overwhelmed  
with work, family issues, and the book.  I expect to simply stop  
working on the book one week from today.  That is the start of spring  
break for Univ. of San Francisco and I will then start on the  
software to get it ready for a full v3.0 release (for April?).

Sorry for the silence.  I'm getting *very* close to finishing the book.

Ter
On Mar 2, 2007, at 8:39 AM, Alex Milowski wrote:

> I've been attempting to write an XPath 1.0 grammar in prep for an  
> XPath 2.0 grammar.  I
> keep running into compile errors where 'UP' and 'DOWN' tokens that  
> do not exist
> in my grammar are generated somehow.  This particular grammar also  
> has problems
> with expressions like 'foo and bar' that I just can't quite figure  
> out.
>
> I've always liked antlr but I think this latest attempt has gotten  
> the best of me and
> I've given up for now and just hand wrote the parser.  If anyone  
> can give me a
> few pointers, that'd be great.
>
> I attached the grammar and a test program.
>
> One thing that would be really helpful is more complete  
> documentation on the
> V3 grammar itself.  The wiki has been useful but I found myself  
> going into the
> V2 documentation a lot and then trying to figure out what has  
> translated to V3.
>
> --Alex Milowski
>
>
> <XPath1.g>
> <ViewAST.java>



More information about the antlr-interest mailing list