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,80b3e504140e89fd,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-13 17:20:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!news.voicenet.com!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin5.nnrp.aus1.giganews.com.POSTED!not-for-mail Sender: Stephe@TAKVER Newsgroups: comp.lang.ada Subject: Config_Files proposal From: Stephen Leake Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-GC-Trace: gv1-izwUkyF8MdcMuJeDBLzgIO3KIn2QlBnUN20Mn0= NNTP-Posting-Date: Thu, 13 Jun 2002 19:19:55 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-HtGYGxhl2+rA6/Zi0Q/sWwpdemX3/h73uZjWwIjS8H/2qlzCSsnJwAKb885eb/iPg8dT8iUE0+UfMEQ!fdRCBhVZc5t8cjXwVpPSItxiaYH7/j1vyRrrksQbjJ+/Qvq9ay9BzYD6rXu8FcEJKpI= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Fri, 14 Jun 2002 00:19:55 GMT Xref: archiver1.google.com comp.lang.ada:25910 Date: 2002-06-14T00:19:55+00:00 List-Id: I've updated the requirements on my web page: http://users.erols.com/leakstan/Stephe/Ada/Config_Files/config_files.html Note that it moved into its own directory, and I did not preserve the requirement numbers from the last version. I think I've captured the discussion we've had here. I've also posted an example implementation using Glib.XML. It does _not_ implement all of the API requirements (in particular the search path features and comments are not there); I'm focusing on file format issues at the moment. Since Glib.XML only supports String, this implementation does not use Wide_String. There is a test driver also, giving examples of how the API is used. If you want to compile it yourself, you'll need to get Glib.XML from the GtkAda distribution at http://libre.act-europe.fr/GtkAda/. Please comment on the spec, or anything else :). Now I'll do an implemenation using the Java properties file format, to compare the two. If someone wants, they can do an implementation for the Windows ini format, or some other format. But I think Windows ini is less useful than the Java properties; the Java format supports multiple levels of key heirarchy. And I think the other formats are more confusing to edit and parse. -- -- Stephe