From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 59189BB81 for ; Tue, 27 Sep 2005 18:26:12 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j8RGQBiR010655 for ; Tue, 27 Sep 2005 18:26:11 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA32157 for ; Tue, 27 Sep 2005 18:26:11 +0200 (MET DST) Received: from relaissmtp.ens-lyon.fr (pilet.ens-lyon.fr [140.77.167.16]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j8RGQACr010650 for ; Tue, 27 Sep 2005 18:26:11 +0200 Received: from localhost (localhost [127.0.0.1]) by relaissmtp.ens-lyon.fr (Postfix) with ESMTP id BCC8515B875; Tue, 27 Sep 2005 18:26:10 +0200 (CEST) Received: from relaissmtp.ens-lyon.fr ([127.0.0.1]) by localhost (pilet [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21270-16; Tue, 27 Sep 2005 18:26:08 +0200 (CEST) Received: from [84.97.235.110] (110.235.97-84.rev.gaoland.net [84.97.235.110]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by relaissmtp.ens-lyon.fr (Postfix) with ESMTP id A503D15B883; Tue, 27 Sep 2005 18:26:03 +0200 (CEST) Message-ID: <4339729A.80500@ens-lyon.org> Date: Tue, 27 Sep 2005 18:26:02 +0200 From: Samuel Mimram User-Agent: Debian Thunderbird 1.0.6 (X11/20050802) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: caml-list , Sylvain Le Gall Subject: Re: [Caml-list] Looking for a configuration file library References: <3d13dcfc05092706091acdb72a@mail.gmail.com> In-Reply-To: X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ens-lyon.fr X-Miltered: at concorde with ID 433972A3.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 433972A3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ens-lyon:01 caml-list:01 ocaml:01 config:01 contrib:01 config:01 wrappers:01 cameleon:01 cheers:01 2005,:98 ...:98 wrote:01 wrote:01 caml:02 debian:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Bruno De Fraine wrote: > Hello, > > On 27 Sep 2005, at 15:09, David MENTRE wrote: > >> For easy configuration of my programs, I'm looking for some OCaml code >> to read and write a user configuration file. > > [...] > >> On the Hump, I found Config_file: >> http://caml.inria.fr/cgi-bin/hump.fr.cgi?contrib=335 >> >> Any other suggestion? > > No, but I've used Config_file for one of my applications, I was pleased > with it and I think it meets all three of your requirements. To load > and save custom types, you can write wrappers from/to the "raw" types. > Only disadvantage is that I can't be installed as a Debian package (or > not one that I'm aware of). Well, apparently it's now part of the new cameleon library which is packaged in Debian. So I guess it's just a matter of time, until the package gets updated. Cheers, Samuel.