parrt/antlr4 — pull request #76 by sharwell (2012-08-03 13:44:12+00:00)
Title: ATN optimization

Currently provided optimizations are:

* Collapse multiple transitions to a single `SetTransition` where possible (currently enabled for lexer rules only since the parser's code generator doesn't support `RangeTransition` or `SetTransition`).
* Remove `null` entries in the ATN `states` array. Reduces the size of both the serialized ATN and the edge tables in the DFA.

Optimizations are only enabled if `-optimize` is specified on the command line.