Pgpc

Latest version: v0.0.4

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.4

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

Add tests and change the example from `README.md`

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

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`.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.