From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,47bc849aad30d586 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-28 23:38:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: A standard package for config files is needed Date: Tue, 28 May 2002 16:44:09 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1022618650 3099 136.170.200.133 (28 May 2002 20:44:10 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 28 May 2002 20:44:10 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:24907 Date: 2002-05-28T20:44:10+00:00 List-Id: Here's just a thought: The Grace components has the aim of creating a Map component. Assuming you can get serialization out of a Map component via 'Read, 'Write, 'Input & 'Output, it would be the natural data structure on which to build an INI file. If not Grace, perhaps some other package would be useful to build on, but I'd imagine a spec that was similar, just narrowed down to the needs of an INI file. With a Map, you've got everything you need to store & query attribute/value pairs, eh? (Editing by hand might be a bit of a problem. But why couldn't an extension include some kind of editor? It might even evolve into its own form of registry?) Assuming we get a Grace component to do this, it might even make a nice extension to the Grace library - a descendent of Maps that handles initialization work? MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Preben Randhol" wrote in message news:slrnaf6onp.lpu.randhol+abuse@kiuk0152.chembio.ntnu.no... > On the GtkAda list there has been some discussion on making a standard > package for reading/writing configuration files. As most programs need > this it would be very nice with a small, platform independant, robust > but easy to use package. >