drhagen / parsita

The easiest way to parse text in Python
https://parsita.drhagen.com/
MIT License
98 stars 5 forks source link

Split result and exceptions out of state #58

Closed drhagen closed 1 year ago

drhagen commented 1 year ago

state.py was a pretty big file and the module needs to be part of the public API in order to make it possible for advanced users to write their own parsers. Everything needed to write a parser was kept and everything else was moved out. The exception classes were moved to exceptions.py and the reexported Result was moved to result.py.