Hi, I'm new to ANTLR and I'd like to use it to build an interactive interpreter (generating C or, even better, a C++ parser). If I've understood correctly, ANTLR wants to tokenize all the input upfront, which makes building interactive parsers cumbersome. I think I can work around this limitation by trying to parse whole statements each time I get some input from the command line, and then wait for more input, without displaying any error, if the parsing fails because there are not enough tokens. While this approach may work, I don't like it very much. Is there a better method? I hope I'm missing something ;-)
Regards, Giovanni 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
