Releases: neshkeev/pgpc
Releases · neshkeev/pgpc
v0.0.4
The release includes more parser combinators:
ws,letter,digit,alphanumParser.alt,opt,many- parsers over parsersParser.mapto transform the result of a parserParser.replace_with,Parser.replace_lazyto discard the value of the current parserParser.drain_nextto ignore the value of the next parser and use the current parser's value
0.0.3
0.0.2
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 fromScannerto a generic valueV;pgpc.scanner.Position- an object that represents positions of a parser;- few simple parser combinators:
satisfy,any_char,char.
0.0.1
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 fromScannerto a generic valueV;pgpc.scanner.Position- an object that represents positions of a parser;- few simple parser combinators:
satisfy,any_char,char.