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 8704DBB81 for ; Tue, 27 Sep 2005 15:24:03 +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 j8RDO3gj017361 for ; Tue, 27 Sep 2005 15:24:03 +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 PAA29020 for ; Tue, 27 Sep 2005 15:24:02 +0200 (MET DST) Received: from bonito.ulb.ac.be (bonito.ulb.ac.be [164.15.59.220]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j8RDO2Fk017357 for ; Tue, 27 Sep 2005 15:24:02 +0200 Received: from mach.vub.ac.be (maxi.ulb.ac.be [164.15.128.8]) by bonito.ulb.ac.be (Postfix) with ESMTP id B08AE164 for ; Tue, 27 Sep 2005 15:23:58 +0200 (CEST) Received: by mach.vub.ac.be (Postfix, from userid 21099) id 906F28D27; Tue, 27 Sep 2005 15:23:58 +0200 (CEST) Received: from mail.etro.vub.ac.be (etro1.vub.ac.be [134.184.2.1]) by mach.vub.ac.be (Postfix) with ESMTP id 11F988D21 for ; Tue, 27 Sep 2005 15:23:58 +0200 (CEST) Received: from [10.0.4.37] (helo=ssel.vub.ac.be) by smtp.etro.vub.ac.be with esmtp (Exim 4.43) id 1EKFR7-0006Ik-Uf; Tue, 27 Sep 2005 15:23:57 +0200 Received: from localhost (localhost [127.0.0.1]) by ssel.vub.ac.be (Postfix) with ESMTP id BD6F6405C0; Tue, 27 Sep 2005 15:23:57 +0200 (CEST) Received: from ssel.vub.ac.be ([127.0.0.1]) by localhost (ssel.vub.ac.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17176-01; Tue, 27 Sep 2005 15:23:53 +0200 (CEST) Received: from [10.0.4.145] (unknown [10.0.4.145]) by ssel.vub.ac.be (Postfix) with ESMTP id B2CCD3FC91; Tue, 27 Sep 2005 15:23:53 +0200 (CEST) In-Reply-To: <3d13dcfc05092706091acdb72a@mail.gmail.com> References: <3d13dcfc05092706091acdb72a@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: caml-list Content-Transfer-Encoding: 7bit From: Bruno De Fraine Subject: Re: [Caml-list] Looking for a configuration file library Date: Tue, 27 Sep 2005 15:23:53 +0200 To: David MENTRE X-Mailer: Apple Mail (2.734) X-Virus-Scanned: amavisd-new at ssel.vub.ac.be X-Miltered: at concorde with ID 433947F3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 433947F2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 config:01 contrib:01 config:01 wrappers:01 universiteit:01 2005,:98 ...:98 wrote:01 caml:02 debian:02 types:02 types:02 hump: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.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 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). Best regards, Bruno -- Bruno De Fraine Vrije Universiteit Brussel Faculty of Applied Sciences, INFO - SSEL Room 4K208, Pleinlaan 2, B-1050 Brussels tel: +32 (0)2 629 29 75 fax: +32 (0)2 629 28 70 e-mail: Bruno.De.Fraine@vub.ac.be