[antlr-interest] Stream processing
Florian Weimer
fw at deneb.enyo.de
Sun Jul 15 01:57:32 PDT 2007
I'd like to execute an action as soon as a particular rule matches. I
don't care if the whole parse fails at a later stage (in the end, the
whole thing will be wrapped in a transaction anyway).
Right now, the generated parser seems to load the whole document into
memory, in some kind of parsed form. Loading the source document is
not a big issue for me (it's just about 3 MB in size), but the whole
parser data definitely takes too much memory (close to 1 GiB).
More information about the antlr-interest
mailing list