Browse thread
Config_file : first release
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-11-21 (18:05) |
From: | brogoff <brogoff@s...> |
Subject: | Re: [Caml-list] Config_file : first release |
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