title: Earley parser generator for Java
body: <p>I'm looking for an <a href="http://en.wikipedia.org/wiki/Earley_algorithm" rel="nofollow noreferrer">Earley parser</a> generator that is able to generate Java output code,
  i.e. that generates Java code for the lexer and parser, and allows to include actions
  (realised as Java code) that are performed for the grammar rules.</p>
  
  <p>I looked at two Earley parser generators that generate Java code (<a href="http://www.ling.ohio-state.edu/~scott/#projects-pep" rel="nofollow noreferrer">Pep</a> and <a href="http://linguateca.dei.uc.pt/index.php?sep=recursos" rel="nofollow noreferrer">PEN</a>)
  but none of them seems to allow embedding actions into the grammar.</p>