EBNFParser Versions Save

Convenient parser generator for Python(check out https://github.com/thautwarm/RBNF for an advanced version).


5 years ago

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