Good evening, some people like it, some hate it, but for configuration purposes some really prefer using the ini file format. Hereby I introduce libini, which provides ini parsing functionality as a library. You can parse ini files manually by providing your own parse function, or use the builtin management solution to provide a catalogue of all settings. Libini supports the simple standard file format, as well as array-like structures (using +key=value pairs). key=value pairs without sections are also supported. Libini should also support loading multiple ini files, though I didn't properly test that. There are very likely a few errors, patches are like always welcome. Here's the URL for the repository: http://shithub.us/sirjofri/libini/HEAD/info.html . The repo contains a test program. sirjofri
why not ndb?
On Sun, Feb 26, 2023 at 2:44 PM sirjofri <sirjofri+ml-9front@sirjofri.de> wrote:
>
> Good evening,
>
> some people like it, some hate it, but for configuration purposes some really prefer using the ini file format.
>
> Hereby I introduce libini, which provides ini parsing functionality as a library. You can parse ini files manually by providing your own parse function, or use the builtin management solution to provide a catalogue of all settings.
>
> Libini supports the simple standard file format, as well as array-like structures (using +key=value pairs). key=value pairs without sections are also supported.
>
> Libini should also support loading multiple ini files, though I didn't properly test that.
>
> There are very likely a few errors, patches are like always welcome.
>
> Here's the URL for the repository: http://shithub.us/sirjofri/libini/HEAD/info.html . The repo contains a test program.
>
> sirjofri
27.02.2023 02:23:47 Nick Owens <mischief@offblast.org>: > why not ndb? Because of that: > On Sun, Feb 26, 2023 at 2:44 PM sirjofri <sirjofri+ml-9front@sirjofri.de> wrote: >> some people like it, some hate it, but for configuration purposes some really prefer using the ini file format. And that: >> [...] array-like structures (using +key=value pairs). That's it. sirjofri