Subject: Re: [boost] Library for configuration file parsing
From: Mika Heiskanen (mika.heiskanen_at_[hidden])
Date: 2010-11-27 00:11:23
On Sat, 2010-11-27 at 06:57 +0200, Denis Shevchenko wrote:
> On 27.11.2010 03:48, Jeff Benshetler wrote:
> > I've switched to using Python for configuration files about 6 years ago, and
> > stopped writing "little languages" of my own. There is a great deal of
> > flexibility and extensibility from using a general purpose language, and it
> > has a fully documented syntax with good error messages.
> It's good idea, butyou are talking about using ANOTHER programming
> language, Python.Butif I had never heard about Python (especially if I'm
> a newbie in C++)?
> I'm talking about using pure C++, and my solution is so easy to use
> (imho), that it could use even a newbie.
I on the other hand was pretty much excited about the possibility of
scripting my configuration, so I googled for more. I assumed you are
using Boost.Python, but unfortunately I found the documentation lacking
and did not see an easy way to read higher level structures from the
configuration files, nor could I find any simple examples to do so. Are
there any, or would you care to provide one, Jeff?
--> Mika Heiskanen
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk