[antlr-interest] How to control token numbers manually?
qwertie256 at gmail.com
Sun Jul 1 09:29:10 PDT 2007
In my project I need to control the numeric identifiers used for
tokens, because there may be several separate (unrelated) lexers that
produce the same token types (ID, INT, REAL, etc.)
Preferably I would like to use variables to hold the token numbers and
determine the numbers at run-time, but before any lexer starts. Never
How can I accomplish this?
More information about the antlr-interest