From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 34042BC28 for ; Sun, 21 Nov 2004 19:05:10 +0100 (CET) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iALI58SB026157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 Nov 2004 19:05:09 +0100 Received: (qmail 17263 invoked from network); 21 Nov 2004 18:05:07 -0000 Received: from shell1.speakeasy.net ([69.17.110.70]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 21 Nov 2004 18:05:07 -0000 Date: Sun, 21 Nov 2004 10:05:06 -0800 (PST) From: brogoff To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Config_file : first release In-Reply-To: <1100878356.419e12141967a@mouette.ens-lyon.fr> Message-ID: References: <1100878356.419e12141967a@mouette.ens-lyon.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at concorde with ID 41A0D8D4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 wrote:01 cameleon:01 parsing:01 lib:01 cameleon:01 libs:01 c--:01 compiler:01 config:01 config:01 speakeasy:01 computation:01 defined:01 readable:02 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: On Fri, 19 Nov 2004, Jean-Baptiste Rouquier wrote: > I'm pleased to annouce the first release of Config_file. > > This library allows one to save configuration parameters (basic types, lists, > user defined, etc.) into a file and load them. The configuration file is human > readable, structured and allow (* *) comments. > > I've started with the module Options from cameleon and added full > documentation, a few new features, rewritten in OO style (to learn OO :-), > error logging, more secure parsing of the configuration file. > > This lib is used in cameleon and in my own programms. It's available on > http://savannah.nongnu.org/download/cameleon/ and on my own webpage. > It's part of cameleon2 (not yet available) but is also available separately. > > Comments welcome, especially if you know other similar libs. I know Inifiles, > Option from cameleon and I couldn't download ConfigParser from Missinglib. I think the whole reason for the little language Lua is to provide a language for config files, so Lua-ML (used in some C-- compiler I think) is a similar library. Once you accept the need for doing some computation in the config file, it seems that you want a small extension language interpreter for this task. Scheme also works. I'm currently trying to decide between Scheme and Lua for this task. -- Brian