[antlr-interest] Development of an XQuery parser with full-text extensions, project report
Johannes Luber
jaluber at gmx.de
Fri Dec 28 16:25:01 PST 2007
David Holroyd schrieb:
> On Fri, Dec 28, 2007 at 03:02:47AM +0200, Guntis Ozols wrote:
>> Two things polluting my grammar file which i'd like to factor out are:
>> - package declarations (should be possible to specify as command line opt.)
> [...]
>
> It would be nice if ANTLR understood packages. It should be something
> in the grammar though, not a command-line option. This knowledge could
> allow ANTLR to automatically find pkg/T.tokens when tokenVocab=pgk.T is
> used, for instance.
>
> All a bit Java specific, of course.
I'm sure, that there are ways to map packaging to other systems, like
namespaces in C#.
Johannes
More information about the antlr-interest
mailing list