An optimizer for Parse::RecDescent. It's not totally finished, and has a few glaring bugs in it, but it can turn this:
test: 'a' b /c/
into this:
b: bee "hlagh"
bee: 'b'
test : 'abhlaghc'
I know this, because I had to write a Parse::RecDescent deparser too.
b : 'bhlagh'
bee : 'b'
This lead to my wonder why there isn't a decent regex optimizer module around yet...