Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 587 Bytes

index.rst

File metadata and controls

27 lines (17 loc) · 587 Bytes
.. toctree::
   :hidden:

   self
   example

Speedy Antlr Tool

Running an Antlr parser in Python is slow.

This tool generates a Python extension that runs your parser using Antlr's C++ target, and then translates the parsed tree back into Python.

Performance is highly dependant on the complexity of the grammar. Depending on the test input used, parse speed can be improved by 5x to 25x.

Installing

Install from PyPi using pip

python3 -m pip install speedy-antlr-tool