Python3 port of the antlr_python_runtime, as found on https://pypi.python.org/pypi/antlr_python_runtime