PyParsec is a Haskell combinator library, PyParsec is a parsec library for python 3+
pip install pyparsec
Just like this:
>>> from parsec.state import BasicState
>>> from parsec.combinator import many
>>> from parsec.atom import eq
>>> simple = "It is a simple string."
>>> st = BasicState(simple)
>>> p = eq("I").many
>>> p(st)
['I']
- add built in combinators decorator
- add ahead
- add result class
- document
- documents
- fixed bugs builtin combinators
- uniform result status checker
- typo
- fixed bug in ahead
- uniform functions as python style
- uniform functions as python style
- fixed buildin methods name
- add sep_xxx methods to builtin