[antlr-interest] How can I define a token from a directory content ?
helene.chagnot at gmail.com
Fri Sep 19 06:15:23 PDT 2008
I'm currently using Antlr3 to develop a command line tool.
One of this command consists in executing the content of a command file. The
associated rule will look like this:
execFileRule: EXEC FILENAME;
My problem is that possible values for "FILENAME" can not be given in a
static manner (i.e.: FILENAME: "file1.txt" | "file2.txt" | "file3.txt";), as
they depend on the content of a specific directory at the moment the command
How can I manage this ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest