English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Config_file : first release
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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

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