I know that there are many examples of JavaCC parsers here, but they all do nothing. They just accept a string, or produce parsing errors.
What I need is a few examples of real parsers, which actually do something during parsing. (Such as building a DOM tree during parsing an XML string).
Please help! ;)