[antlr-interest] Parsing a little at a time?
Rick Mann
rmann at latencyzero.com
Sun Oct 14 11:15:44 PDT 2007
I posted this question once already, but got no response. Let me try
rewording it.
I'd like to parse input as I get it from the user, a line at a time.
Is this possible? Can I pass a string to the parser, and then have it
return without error, even if the input is incomplete? Then I'd pass
another string to the same parser instance, etc. Eventually, I'd like
the parser to return an indication that it completed some work
(although, in my case, I don't really even need that).
I'm about to try the experiment, but I'd hoped to know ahead of time.
Maybe the API docs say...
TIA,
Rick
More information about the antlr-interest
mailing list