Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Config_file : first release
@ 2004-11-19 15:32 Jean-Baptiste Rouquier
  2004-11-19 21:48 ` [Caml-list] " skaller
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jean-Baptiste Rouquier @ 2004-11-19 15:32 UTC (permalink / raw)
  To: caml-list, caml-announce

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.

-- 
Jean-Baptiste Rouquier.
http://perso.ens-lyon.fr/jean-baptiste.rouquier


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Caml-list] Config_file : first release
  2004-11-19 15:32 Config_file : first release Jean-Baptiste Rouquier
@ 2004-11-19 21:48 ` skaller
  2004-11-20  8:26   ` Jean-Baptiste Rouquier
  2004-11-21 18:05 ` brogoff
  2004-11-25 16:47 ` [Caml-announce] " John Goerzen
  2 siblings, 1 reply; 8+ messages in thread
From: skaller @ 2004-11-19 21:48 UTC (permalink / raw)
  To: Jean-Baptiste Rouquier; +Cc: caml-list, caml-announce

On Sat, 2004-11-20 at 02:32, Jean-Baptiste Rouquier wrote:
> I'm pleased to annouce the first release of Config_file.

State the licence please

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Caml-list] Config_file : first release
  2004-11-19 21:48 ` [Caml-list] " skaller
@ 2004-11-20  8:26   ` Jean-Baptiste Rouquier
  0 siblings, 0 replies; 8+ messages in thread
From: Jean-Baptiste Rouquier @ 2004-11-20  8:26 UTC (permalink / raw)
  To: caml-list, caml-announce

> > I'm pleased to annouce the first release of Config_file.
> State the licence please
GPL version 2 or later.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Caml-list] Config_file : first release
  2004-11-19 15:32 Config_file : first release Jean-Baptiste Rouquier
  2004-11-19 21:48 ` [Caml-list] " skaller
@ 2004-11-21 18:05 ` brogoff
  2004-11-21 21:00   ` skaller
  2004-11-21 23:35   ` Richard Jones
  2004-11-25 16:47 ` [Caml-announce] " John Goerzen
  2 siblings, 2 replies; 8+ messages in thread
From: brogoff @ 2004-11-21 18:05 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Caml-list] Config_file : first release
  2004-11-21 18:05 ` brogoff
@ 2004-11-21 21:00   ` skaller
  2004-11-21 21:13     ` brogoff
  2004-11-21 23:35   ` Richard Jones
  1 sibling, 1 reply; 8+ messages in thread
From: skaller @ 2004-11-21 21:00 UTC (permalink / raw)
  To: caml-list; +Cc: brogoff

On Mon, 2004-11-22 at 05:05, brogoff wrote:
>  I'm currently trying to decide between Scheme and Lua for this task.

Ville-Pertti Keinonen wrote a Scheme interpreter with BSD licence
in Ocaml. I integrated it into Felix in a few minutes.

Download URL http://will.iki.fi/software/ocs/
Author Ville-Pertti Keinonen <will@exomi.com>

There is also Schoca which is GPL, hosted on
Sourceforge:

http://home.arcor.de/chr_bauer/schoca.html
Author: Christoph Bauer <ich at christoph-bauer.net>
http://sourceforge.net/projects/chesslib

I guess Ocaml written Scheme is better for Ocaml than Lua,
they use Ocaml GC and pure Ocaml source, and Scheme has
a standards document, whereas Lua is C and less stable.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Caml-list] Config_file : first release
  2004-11-21 21:00   ` skaller
@ 2004-11-21 21:13     ` brogoff
  0 siblings, 0 replies; 8+ messages in thread
From: brogoff @ 2004-11-21 21:13 UTC (permalink / raw)
  To: caml-list

On Sun, 22 Nov 2004, skaller wrote:
> On Mon, 2004-11-22 at 05:05, brogoff wrote:
> >  I'm currently trying to decide between Scheme and Lua for this task.
>
> Ville-Pertti Keinonen wrote a Scheme interpreter with BSD licence
> in Ocaml. I integrated it into Felix in a few minutes.
>
> Download URL http://will.iki.fi/software/ocs/
> Author Ville-Pertti Keinonen <will@exomi.com>

Thanks, I already knew of it, and it is my first choice among Schemes.

> I guess Ocaml written Scheme is better for Ocaml than Lua,
> they use Ocaml GC and pure Ocaml source, and Scheme has
> a standards document, whereas Lua is C and less stable.

It ain't what you know that hurts you, its what you know that ain't so!

You are wrong about Lua-ML. Please visit the C-- web site, read the
papers, buy the T-shirt, etc.  I'm pretty tempted to go with Lua, because
the people who'll be writing the config files for my program aren't
programmers and Lua may have more palatable syntax.

-- Brian


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Caml-list] Config_file : first release
  2004-11-21 18:05 ` brogoff
  2004-11-21 21:00   ` skaller
@ 2004-11-21 23:35   ` Richard Jones
  1 sibling, 0 replies; 8+ messages in thread
From: Richard Jones @ 2004-11-21 23:35 UTC (permalink / raw)
  Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

On Sun, Nov 21, 2004 at 10:05:06AM -0800, brogoff wrote:
> 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.

Right or wrong, LISP-like configuration languages scare the hell out
of most ordinary users!  I still fear my .emacs file :-)

Rich.

-- 
Richard Jones.  http://www.annexia.org/  http://www.j-london.com/
>>>   http://www.team-notepad.com/ - collaboration tools for teams   <<<
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://youunlimited.co.uk/ - Personal improvement courses

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Caml-announce] Config_file : first release
  2004-11-19 15:32 Config_file : first release Jean-Baptiste Rouquier
  2004-11-19 21:48 ` [Caml-list] " skaller
  2004-11-21 18:05 ` brogoff
@ 2004-11-25 16:47 ` John Goerzen
  2 siblings, 0 replies; 8+ messages in thread
From: John Goerzen @ 2004-11-25 16:47 UTC (permalink / raw)
  To: Jean-Baptiste Rouquier; +Cc: caml-list

On Fri, Nov 19, 2004 at 04:32:36PM +0100, Jean-Baptiste Rouquier wrote:
> 
> 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.

FWIW, you can download it from http://quux.org/devel/missinglib or
http://packages.debian.org/missinglib (sources are there too).

-- John


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-11-25 16:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-19 15:32 Config_file : first release Jean-Baptiste Rouquier
2004-11-19 21:48 ` [Caml-list] " skaller
2004-11-20  8:26   ` Jean-Baptiste Rouquier
2004-11-21 18:05 ` brogoff
2004-11-21 21:00   ` skaller
2004-11-21 21:13     ` brogoff
2004-11-21 23:35   ` Richard Jones
2004-11-25 16:47 ` [Caml-announce] " John Goerzen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox