Hi all, First of all thanks for the amazing work and aswers to all. Having said that, the problem:
I need to parse a log, a model that represents the lo is the following: ' AAA AAA BBB Line I don't care which can contain anything that is not AAA BBB or CCC CCC AAA CCC BBB Line I don't care which can contain anything that is not AAA BBB or CCC ' I manage to write the grammar which parses this, but then I would lilke to have all the log info digested on a result object which behaves something like this: resutlObject as size --> 3 resultObject bs size --> 2 restulIbject cs size -->2 The option that im using now is that individual parsers (meaning the parser for AAA,BBB,CCC,etc) actually retunrs an object that knows how to add themselves to the result and then, I iterate over the parser's array result asking to each object to add itself to the result. Is there a better solution? Thanks to all, Juan.
