There's mention here of the Python output option in ANTLR. It has serious performance problems (which the other output languages don't have). Please be aware of this, and test to see it's fast enough before committing to it. As said, other languages don't suffer this problem and ANTLR is a very good option with them.