caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: brogoff <brogoff@speakeasy.net>
To: David MENTRE <david.mentre@gmail.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Looking for a configuration file library
Date: Wed, 28 Sep 2005 08:15:17 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0509280811280.28672@shell4.speakeasy.net> (raw)
In-Reply-To: <3d13dcfc050928000613f42ed@mail.gmail.com>

On Wed, 28 Sep 2005, David MENTRE wrote:

> Brian,
>
> 2005/9/27, brogoff <brogoff@speakeasy.net>:
> >     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


  reply	other threads:[~2005-09-28 15:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 13:09 David MENTRE
2005-09-27 13:23 ` [Caml-list] " Bruno De Fraine
2005-09-27 16:26   ` Samuel Mimram
2005-09-28  6:59     ` David MENTRE
2005-09-28  7:06       ` Maxence Guesdon
2005-09-27 17:02 ` brogoff
2005-09-28  7:06   ` David MENTRE
2005-09-28 15:15     ` brogoff [this message]
2005-09-28 16:37       ` skaller
2005-09-28 16:55         ` brogoff
2005-09-29  3:33           ` skaller
2005-09-29  4:02             ` brogoff
2005-09-29  7:24         ` Christian Lindig
2005-09-28 15:40     ` skaller
2005-10-05 10:16 ` Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0509280811280.28672@shell4.speakeasy.net \
    --to=brogoff@speakeasy.net \
    --cc=caml-list@inria.fr \
    --cc=david.mentre@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).