caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean-Baptiste Rouquier <jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.fr>
To: caml-list@inria.fr
Cc: romildo@uber.com.br
Date: Tue, 04 Jan 2005 11:24:18 +0100 (CET)	[thread overview]
Message-ID: <1104834258.41da6ed21d59a@mouette.ens-lyon.fr> (raw)

> Is there a library that implements a parser
> for configuration files similar to the *.ini
> files from windows? For instance:
>
>   [section 1]
>   key1 = value1
>   key2 = value2
>
>   [section 2]
>   key3 = value3
>   key4 = value4
>   key5 = value5 

Inifiles (http://www.csun.edu/~eric/inifiles-1.0.tar.gz) is explicitely designed
to parse this file format.

I also suggest my own lib, Config_file, available at
http://savannah.nongnu.org/download/cameleon/. It allows comments, command lines
options identical to file options (based on Arg), arbitrary nesting of
subsections, error logging and a few more features.
-- 
Jean-Baptiste Rouquier


                 reply	other threads:[~2005-01-04 10:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1104834258.41da6ed21d59a@mouette.ens-lyon.fr \
    --to=jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.fr \
    --cc=caml-list@inria.fr \
    --cc=romildo@uber.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).