Configurator is a configuration file parser. It allows you to use arbitrary nesting of sections. The user can define an option's default value, necessity, and semantic check. It supports single-line and multi-line comments (in C++ style). It provides common checks of options and sections, like duplication, incorrection, etc. It uses only Boost C++ libraries and ISO C++. It is header-only (does not require building) and very easy to use.
Tags | Libraries Software Development |
---|---|
Licenses | MIT Boost Software License |
Operating Systems | Cross Platform |
Implementation | C++ |
Translations | English |
Now I use Git-repository there: https://github.com/dshevchenko/Configurator.
Release Notes: A bug with a missing WITH_SEMANTIC_CHECK flag was fixed. Experimental support for 'EXP_RECORD' semantics was added (for recording of big or small numbers in configuration files). Short variants of 'add_' and 'get_' functions were added for simplicity.
Release Notes: A bug with multi-line comments on one string was fixed. Support has been added for a tab ('\t' symbol) as a name-value separator when a space is used as a name-value separator. Meaningless strings detection was added. The ability to use canonical one line comments (with '#') has been added. 'Time period' semantic was added.
Release Notes: This is the first version of the library. It is ready for testing and for basic usage.