To make some optimizations, now
- in some degree, data structure is similar to C++ std::vector. [reuse memory]
- static code analysis.
- deal with left recursion grammars when compiling to speed up left recursive parsing.
- remove redundant grammars and merge them if possible.
- non-recur solution about cycle left-recur.
To install it as a Python package, just
python setup.py install
Feel free to use **PyPI**:
pip install -U EBNFParser