caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: brogoff <brogoff@speakeasy.net>
To: David MENTRE <david.mentre@gmail.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Looking for a configuration file library
Date: Tue, 27 Sep 2005 10:02:29 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0509270951390.28672@shell4.speakeasy.net> (raw)
In-Reply-To: <3d13dcfc05092706091acdb72a@mail.gmail.com>

On Tue, 27 Sep 2005, David MENTRE wrote:

> Hello,
>
> For easy configuration of my programs, I'm looking for some OCaml code
> to read and write a user configuration file.
>
> Currently, I have following requirements:
>
>  - pure OCaml, without depencies on other libraries (I have enough
> depencies in my program);
>
>  - allows human readable and editable configuration files (i.e. no
> XML), preferably structured;
>
>  - (preferably) allows to easily load and save OCaml data structure,
> like Hashtbl.
>
> On the Hump, I found Config_file:
>   http://caml.inria.fr/cgi-bin/hump.fr.cgi?contrib=335
>
> Any other suggestion?

David,
    I like the Lua-ML package used in C--. Lua is just about right as a
configuration language, especially if you wish to do some computation in your
config  file. It should satisfy your listed requirements.

    On the minus side IMO (I hate to be negative about something free) it uses
noweb, and is not up to date with the latest version of Lua. In particular,
the  use of noweb is annoying, but with a bit of grunt work you can undo that.

-- Brian


  parent reply	other threads:[~2005-09-27 17:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 13:09 David MENTRE
2005-09-27 13:23 ` [Caml-list] " Bruno De Fraine
2005-09-27 16:26   ` Samuel Mimram
2005-09-28  6:59     ` David MENTRE
2005-09-28  7:06       ` Maxence Guesdon
2005-09-27 17:02 ` brogoff [this message]
2005-09-28  7:06   ` David MENTRE
2005-09-28 15:15     ` brogoff
2005-09-28 16:37       ` skaller
2005-09-28 16:55         ` brogoff
2005-09-29  3:33           ` skaller
2005-09-29  4:02             ` brogoff
2005-09-29  7:24         ` Christian Lindig
2005-09-28 15:40     ` skaller
2005-10-05 10:16 ` Richard Jones

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=Pine.LNX.4.58.0509270951390.28672@shell4.speakeasy.net \
    --to=brogoff@speakeasy.net \
    --cc=caml-list@inria.fr \
    --cc=david.mentre@gmail.com \
    /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).