chain one wrote:
There are many pieces of inputs , all of which should be parsed by one parser.Actually it isn't particularly inefficient, it is justa bit of memory and few pointers initialized; though when measured relative to the speed of parsing/lexing it may appear to be so :-). However, there is no need to recreate the lexer and parser, you can reuse them and reset() them, setting their input streams as per the API docs. Jim
--~--~---------~--~----~------------~-------~--~----~ 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-interest@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 -~----------~----~----~----~------~----~------~--~--- |
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address