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 nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id D5D39BB81 for ; Wed, 28 Sep 2005 17:15:22 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j8SFFMaC026792 for ; Wed, 28 Sep 2005 17:15:22 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA18886 for ; Wed, 28 Sep 2005 17:15:21 +0200 (MET DST) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j8SFFIgx026787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 28 Sep 2005 17:15:20 +0200 Received: (qmail 20271 invoked from network); 28 Sep 2005 15:15:17 -0000 Received: from shell4.sea5.speakeasy.net ([69.17.116.5]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Sep 2005 15:15:17 -0000 Date: Wed, 28 Sep 2005 08:15:17 -0700 (PDT) From: brogoff To: David MENTRE Cc: caml-list Subject: Re: [Caml-list] Looking for a configuration file library In-Reply-To: <3d13dcfc050928000613f42ed@mail.gmail.com> Message-ID: References: <3d13dcfc05092706091acdb72a@mail.gmail.com> <3d13dcfc050928000613f42ed@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at nez-perce with ID 433AB38A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 433AB386.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 c--:01 config:01 config:01 val:01 noweb:01 noweb:01 literate:01 ocamldoc:01 ocamldoc:01 2005,:98 wrote:01 computation:01 speakeasy:01 speakeasy:01 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 On Wed, 28 Sep 2005, David MENTRE wrote: > Brian, > > 2005/9/27, brogoff : > > 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. > > I did not thought about this option but this is an interesting > suggestion. In the long term, I also want to add scripting > capabilities to my program so that might be done both at once. Lua's designers intended that it be used for writing config files. It has found some success in this niche, and even if you don't wish to use it's procedural features, it works fine for var=val type files. > > 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. > > I'm already using noweb for my program, so this is not an issue for me[1]. > > Yours, > d. > > [1] Even if, in the long term, I want to remove noweb in order to use > a literate programing style relying on language source code, like > ocamldoc. That is exactly what I wish they had done. I haven't gone all the way and used ocamldoc properly, but when I have time I will do that to my version of Lua-ML. -- Brian