[antlr-interest] Explicit whitespace handling in W3C grammars
Andreas Ravnestad
andreas.ravnestad at gmail.com
Mon Oct 22 06:32:32 PDT 2007
In several of the grammars specified by the W3C, there are productions
that require "explicit whitespace handling" [1].
Consider this example:
A : B C;
With explicit whitespace handling, there can NOT be whitespace between
B and C in this production.
How can this be implemented with Antlr?
-Andreas Ravnestad
1. http://www.w3.org/TR/xquery/#ExplicitWhitespaceHandling
More information about the antlr-interest
mailing list