Name : python-parcon
| |
Version : 0.1.24
| Vendor : obs://build_opensuse_org/home:jayvdb
|
Release : 2.46
| Date : 2011-09-23 14:23:45
|
Group : Development/Languages/Python
| Source RPM : python-parcon-0.1.24-2.46.src.rpm
|
Size : 1.09 MB
| |
Packager : (none)
| |
Summary : Parser/formatter library that provides informative error messages
|
Description :
Parcon is a parser combinator library. It can be used for parsing both normal text and binary data. It\'s designed to be easy to use and to provide informative error messages.
Pargen, which is provided as a submodule of Parcon, is a formatter combinator library. It\'s much the opposite of Parcon: while Parcon is used to parse text into various objects, Pargen is used to format objects into text. As an example, if you wanted to reimplement Python\'s json module, you would use Parcon to implement json.loads and Pargen to implement json.dumps.
Static, which is also provided as a submodule of Parcon, is a static typing library and Python object pattern library. It lets you build patterns that match Python objects based on their type, their attributes, certain properties such as whether or not the object is a sequence, the types that make up the object\'s values if the object is a sequence, and so on.
All of the classes, and most of the functions, in Parcon are comprehensively documented. The best place to look for help is in Parcon\'s module documentation. Pargen\'s classes and functions and Static\'s classes and functions are also documented, though not quite as well as Parcon\'s are at present.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/jayvdb:/branches:/devel:/languages:/python:/misc/openSUSE_Tumbleweed/noarch |