[antlr-interest] Changing/affecting the Lexer from the Parser?

Juancarlo Añez apalala at gmail.com
Sat Nov 10 14:52:25 PST 2012


Bernard,

On Sat, Nov 10, 2012 at 4:35 PM, Bernard Kaiflin <bkaiflin.ruby at gmail.com>wrote:

> to match the pre-generated token stream and programmatically split
> $FLOAT.text into two parts : index and start (dimension).


That patch is also an option I had thought of before, but it's an ugly
patch.

I also have to deal with #I.2 and 1.#X, and #X.#Z, which are currently
dealt with by making ID consume both sides of the dot, just for parsing's
sake.

-- Juanca



-- 
Juancarlo *Añez*


More information about the antlr-interest mailing list