On Mon, Apr 11, 2011 at 8:49 AM, NeoPhyte <20neophyt...@gmail.com> wrote:
> Does ANTLR give me an option for interactive processing of input. ie > Processing every line of input one by one > >From whatever I know till now, it starts processing after it encounters an > EOF. > Is there some way I can make it process my input by some other means, say > when it reads a "enter" etc. The parser can only get started after it receives the input, so the answer is no: you can't let the parser "do things" if only part of the tokens are known. Why not line simply create a new lexer/parser for each line and process the input (and evaluate it). Regards, Bart. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.