From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 20017 invoked from network); 27 Feb 2023 01:23:51 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 27 Feb 2023 01:23:51 -0000 Received: from mail-pj1-f46.google.com ([209.85.216.46]) by 9front; Sun Feb 26 20:21:57 -0500 2023 Received: by mail-pj1-f46.google.com with SMTP id k21-20020a17090aaa1500b002376652e160so4707534pjq.0 for <9front@9front.org>; Sun, 26 Feb 2023 17:21:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=offblast-org.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=BY55gO5q7FrU1zRA/M6Fhzxg/Jk0J8FWjEKeSIZdM4E=; b=1LLZjPdPfGE93Pw7x+aaLyKkDh2DgmmXkD/KIn1gHn9y6jdnzScRyfX1tbBvzr7mvM F0MywDh4+LCBhV/C/AwsvqNYNBAOkvr14svfIzvcNNpIDbEKW+//hRtAO6Lc7tidZ0Wv WaqZC/dkhiU9zRTRKEYUmQXo6Z8Y/MZaNZQFb52Nx1eQgTBsSVTQxE/iGjw2KSIlNiAs rlddibY6wCM+pnElEsxIimZxDEImD+xD1VbbQAaOPMauGsESmF+nxObvsghV2QmsXMR8 a6C7BJda+gEWn/VRTnkq7wv8o2Gqs981xcJ7VTRwZI3N4kFmxETa+dMiDowve/d8ejrN fZnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BY55gO5q7FrU1zRA/M6Fhzxg/Jk0J8FWjEKeSIZdM4E=; b=O0wASjK4LU62Wn1BPzvFaUJWgrwRnH7lFNRxju77D+VUlREGipxVJ81fQNYpI3348f +fGK+vjrwsBIIZ4ps5Z7mdAbyW3LfPJh7GSVO9qi7pUXqhy6/Gt7kSUkqmgH37Y8sNOi X9GehZhypGwBOb96R1ssFNb5iULWj2WsSJ0W0ZmS71enPZFdJlWPLTmDSNfaHqkow1sM 360fuR/Zvlli94550lIqHbeOQzzXtJaS9kHeONQgx2HlTYl7SgTenhiBhIT8HqSUVJsU jtV03pCdcCiveRn1NnwoYWFgHKYyTC4nr6quFlRkkUAZwIit14r9/DTWASjk4EbQF1Na VxuA== X-Gm-Message-State: AO0yUKXTy75jjVrUFo8NX7UhzZOjBsBPugDPZHGIBY+E8E+kK5SipLyw kfGhlZOc74x130a2XRUaY3nqLvg46o7acl89pm4usr+FXeaorA== X-Google-Smtp-Source: AK7set8JEFSAnfl2tgrW2XDNCjwa+5Jm3jGpOckMezoAsH+w5JC9T5vs0gXv7UhbFNs3yzSVAFMiiwrRsJ6VZLSa9Cc= X-Received: by 2002:a17:90a:4745:b0:237:6178:297d with SMTP id y5-20020a17090a474500b002376178297dmr3963236pjg.2.1677460913581; Sun, 26 Feb 2023 17:21:53 -0800 (PST) MIME-Version: 1.0 References: <222a5bcb-f632-4c9e-9ddb-a0752d4a1eb7@sirjofri.de> In-Reply-To: <222a5bcb-f632-4c9e-9ddb-a0752d4a1eb7@sirjofri.de> From: Nick Owens Date: Sun, 26 Feb 2023 17:21:42 -0800 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: dependency descriptor template Subject: Re: [9front] Introducing libini Reply-To: 9front@9front.org Precedence: bulk why not ndb? On Sun, Feb 26, 2023 at 2:44 PM sirjofri 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