www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - writing config files

reply David Ferenczi <raggae ferenczi.net> writes:
I'm looking for library functions for writing section-key-value structured
config files.

Can you give me some hints?


Many thanks,
David
May 05 2007
next sibling parent reply Frank Benoit <keinfarbton googlemail.com> writes:
David Ferenczi schrieb:
 I'm looking for library functions for writing section-key-value structured
 config files.
 
 Can you give me some hints?
 
 
 Many thanks,
 David
 

in Phobos see std.openrj in Tango see tango.text.Properties
May 06 2007
next sibling parent reply Tomas Lindquist Olsen <tomas famolsen.dk> writes:
Frank Benoit wrote:

 David Ferenczi schrieb:
 I'm looking for library functions for writing section-key-value
 structured config files.
 
 Can you give me some hints?
 
 
 Many thanks,
 David
 

in Phobos see std.openrj in Tango see tango.text.Properties

There is also the INI module over at dprogramming.com. http://www.dprogramming.com/ini.php
May 06 2007
parent David Ferenczi <raggae ferenczi.net> writes:
Tomas Lindquist Olsen wrote:

 Frank Benoit wrote:
 
 David Ferenczi schrieb:
 I'm looking for library functions for writing section-key-value
 structured config files.
 
 Can you give me some hints?
 
 
 Many thanks,
 David
 

in Phobos see std.openrj in Tango see tango.text.Properties

There is also the INI module over at dprogramming.com. http://www.dprogramming.com/ini.php

Many thanks! I will take a look at!
May 06 2007
prev sibling parent David Ferenczi <raggae ferenczi.net> writes:
Frank Benoit wrote:

 David Ferenczi schrieb:
 I'm looking for library functions for writing section-key-value
 structured config files.
 
 Can you give me some hints?
 
 
 Many thanks,
 David
 

in Phobos see std.openrj in Tango see tango.text.Properties

Thank you very much. I overlooked this.
May 06 2007
prev sibling next sibling parent reply Henning Hasemann <hhasemann web.de> writes:
On Sun, 06 May 2007 08:41:57 +0200
David Ferenczi <raggae ferenczi.net> wrote:

 I'm looking for library functions for writing section-key-value structured
 config files.
 

I think I will run into the same problem soon, too. But my first thought was JSON. Does anybody know, if there are parsers for that available? Henning
May 07 2007
parent reply Aarti_pl <aarti interia.pl> writes:
Henning Hasemann napisaƂ(a):
 On Sun, 06 May 2007 08:41:57 +0200
 David Ferenczi <raggae ferenczi.net> wrote:
 
 I'm looking for library functions for writing section-key-value structured
 config files.

I think I will run into the same problem soon, too. But my first thought was JSON. Does anybody know, if there are parsers for that available? Henning

I did not use it but following link http://www.dsource.org/projects/cashew/wiki/WikiStart might be helpful. BTW it's from json.org main page :-) Regards Marcin Kuszczak (aarti_pl)
May 07 2007
parent Chris Nicholson-Sauls <ibisbasenji gmail.com> writes:
Henning Hasemann wrote:
 I did not use it but following link
 http://www.dsource.org/projects/cashew/wiki/WikiStart

 might be helpful.

 BTW it's from json.org main page :-)

Wow, thanks a lot, I wonder how I was able to overlook it :) Henning

Actually that (ugly) thing needs a complete rewrite... I'm just waiting on some things. -- Chris Nicholson-Sauls
May 10 2007
prev sibling parent Henning Hasemann <hhasemann web.de> writes:
 I did not use it but following link
 http://www.dsource.org/projects/cashew/wiki/WikiStart
 
 might be helpful.
 
 BTW it's from json.org main page :-)

Wow, thanks a lot, I wonder how I was able to overlook it :) Henning
May 07 2007