Skip to content

Releases: drhagen/parsita

Parsita 1.1.1

18 Feb 13:58
Compare
Choose a tag to compare

Addition of Python 3.6 support

Parsita 1.1.0

16 Nov 11:55
Compare
Choose a tag to compare

Addition of a few helper functions:

  • eof: a parser that matches the end of source
  • success: a parser that always succeeds with a given value
  • failure: a parser that always fails with a given message
  • Result.or_die: returns the value on success and raises and exception on failure

Parsita 1.0.0

03 Oct 09:11
Compare
Choose a tag to compare

Initial release of parser combinator library for Python:

  • Fundamental parsers: literal, alternative, sequential
  • Common parsers: optional, discard left and right, regex
  • Repeated parsers: rep, rep1, repsep, rep1sep
  • Forward declarations inside context
  • Standard sequence context GeneralParsers
  • Whitespace ignoring context TextParsers
  • Examples: expression, JSON
  • Complete unit test suite
  • Basic tutorial