title: Parser with objects of custom class as a tokens
body: <p>Looking for java parser generator that accept objects of custom class implementing Comparable interface (or perhaps some parser-specific interface) as an input tokens in resulting parser.
  ANTLR seems to be too character stream-oriented.
  Any suggestions?</p>