Hi,

In case anyone is interested, the ANTLR book PDF is available:

http://www.pragmaticprogrammer.com/titles/tpantlr/index.html

I have a major upgrade, which will update the PDF next week. A number of chapters had not been edited.

You might find the following chapter (that did not fit into the book) useful:

http://www.antlr.org/wiki/display/ANTLR3/Predicated-LL+Parsing+Examples

It describes a number of situations in which pure LL(*) (with its arbitrary regular lookahead) is insufficient. It describes how semantic and syntactic predicates augment LL(*). There are 60 more pages in the book about LL(*) and predicates.

Basically, my LL(*)+auto-backtrack-mode is roughly equivalent to a PEG (that does not do character level parsing; I still separate lexer, losing closure property for grammar merging).

Ter

_______________________________________________
PEG mailing list
PEG@lists.csail.mit.edu
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to