Skip to content

Releases: neshkeev/pgpc

v0.0.4

24 Jul 02:57

Choose a tag to compare

The release includes more parser combinators:

  • ws, letter, digit, alphanum
  • Parser.alt, opt, many - parsers over parsers
  • Parser.map to transform the result of a parser
  • Parser.replace_with, Parser.replace_lazy to discard the value of the current parser
  • Parser.drain_next to ignore the value of the next parser and use the current parser's value

0.0.3

23 Jul 11:05

Choose a tag to compare

Add tests and change the example from README.md

0.0.2

22 Jul 22:08

Choose a tag to compare

Version 0.0.2

The version contains basic functionality to parse text data:

  • pgpc.scanner.Scanner - a class that abstracts away a source that is being parsed;
  • pgpc.parser.Parser - a generic object that represents a parser. A parser is just a function from Scanner to a generic value V;
  • pgpc.scanner.Position - an object that represents positions of a parser;
  • few simple parser combinators: satisfy, any_char, char.

0.0.1

22 Jul 21:59

Choose a tag to compare

Version 0.0.1

The initial version contains basic functionality to parse text:

  • pgpc.scanner.Scanner - a class that abstracts away a source that is being parsed;
  • pgpc.parser.Parser - a generic object that represents a parser. A parser is just a function from Scanner to a generic value V;
  • pgpc.scanner.Position - an object that represents positions of a parser;
  • few simple parser combinators: satisfy, any_char, char.