Libcfgparse is a small set of routines that parse and provide simple access to data stored in configuration files. The configuration file is kept in a syntax similar to C. The aim is to make it as simple and convenient as possible to access the configuration data, while maintaining utmost flexibility with respect to how the data is organized. It allows the data to be stored in a structured (multi-layer) way, to define types, to perform strict syntax checking and to also parse data directly from memory. The library comes with interfaces for C, C++, and Python.
| Tags | Software Development Libraries Python Modules |
|---|---|
| Licenses | GPL LGPL |
Recent releases


Changes: The configuration file parser has been heavily reworked. This allows users to define complex nested lists and record structures, and to pre-declare values for simple variable types.


Changes: The ability to parse configuration initialization or data directly from memory has been added. The C++ and Python APIs have been massively cleaned up and enhanced. A couple of bugs and problems with the previous release have been fixed.


Changes: The parser underwent only a couple of minor fixes from version 0.3. The major change, however, is the addition of a Python API and the integration of a doxygen-generated manual with the package.


Changes: Massive cleanup of data storage. As of version 0.3, initialization of the parser is supported, which allows you to predefine data types and values. Thus, type-safe parsing is possible and default values can be set. The licence was changed to the LGPL.


No changes have been submitted for this release.