* [9front] Introducing libini
@ 2023-02-26 22:43 sirjofri
2023-02-27 1:21 ` Nick Owens
0 siblings, 1 reply; 3+ messages in thread
From: sirjofri @ 2023-02-26 22:43 UTC (permalink / raw)
To: 9front
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] Introducing libini
2023-02-26 22:43 [9front] Introducing libini sirjofri
@ 2023-02-27 1:21 ` Nick Owens
2023-02-28 11:59 ` sirjofri
0 siblings, 1 reply; 3+ messages in thread
From: Nick Owens @ 2023-02-27 1:21 UTC (permalink / raw)
To: 9front
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] Introducing libini
2023-02-27 1:21 ` Nick Owens
@ 2023-02-28 11:59 ` sirjofri
0 siblings, 0 replies; 3+ messages in thread
From: sirjofri @ 2023-02-28 11:59 UTC (permalink / raw)
To: 9front
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-28 12:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-26 22:43 [9front] Introducing libini sirjofri
2023-02-27 1:21 ` Nick Owens
2023-02-28 11:59 ` sirjofri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).