comp.lang.ada
 help / color / mirror / Atom feed
From: "DuckE" <nospam_steved94@home.com>
Subject: Re: Init file package avail?
Date: Sat, 01 Dec 2001 05:37:47 GMT
Date: 2001-12-01T05:37:47+00:00	[thread overview]
Message-ID: <L0_N7.7636$726.3930322@news1.sttln1.wa.home.com> (raw)
In-Reply-To: c1655c76.0111301354.6a4455e5@posting.google.com

Have you considered using XML?
See:
  http://www.w3schools.com/xml/default.asp

And of course:
http://libre.act-europe.fr/

SteveD

"Paul F. Pearson" <ppearson@hiwaay.net> wrote in message
news:c1655c76.0111301354.6a4455e5@posting.google.com...
> Is there a package available to handle reading in from an
> intialization file? Preferrably, I'd like one that handles sections
> (sort of like the Windows INI file format). I started designing one,
> but thought I'd make sure I'm not reinventing the wheel. I'm including
> what I'd desinged. I like the capabilities, but don't require the
> actual "syntax."
>
> ------ begin top-of-my-head design ----------
> #comments begin with hash (UNIX style)
> #for simplicity, I'd require comments to be on a seperate line
> [Section 1]
> field1 = value1
> #note no terminator on above line
>
> [Section 2]
> #field name must only be unique within a section
> field1 = value2
> field2 = [Section 1, field1]
> #a value can be a reference to another value.
>
> ------ end top-of-my-head design ----------
>
> I've even thought about having a %use [Section 1] type of syntax to
> allow an entire section's fields to be "copied" into another section's
> "namespace".





  parent reply	other threads:[~2001-12-01  5:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30 21:54 Init file package avail? Paul F. Pearson
2001-11-30 23:14 ` Nick Roberts
2001-12-01  5:37 ` DuckE [this message]
2001-12-03 17:54   ` PaulPearson
2001-12-03 15:02 ` Ted Dennison
2001-12-03 18:11   ` PaulPearson
replies disabled

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