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-06-01 08:53:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: A standard package for config files is needed Date: 01 Jun 2002 11:50:04 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3CF6846C.3544EB21@nbi.dk> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1022947049 4131 128.183.220.71 (1 Jun 2002 15:57:29 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 1 Jun 2002 15:57:29 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:25156 Date: 2002-06-01T15:57:29+00:00 List-Id: "Marin David Condic" writes: > The reason is not for efficiency. The reason is that if the file is created > under program control and is not editable by other means, then you can't > fill it with corrupt data. Hence you don't have to check it on the way in to > be sure some bonehead didn't screw up the syntax. It also makes the > implementation a much simpler thing because there doesn't need to be a > parser. This is an excellent point. However, I'm looking for a compromise; I believe being able to edit the config file with "any old text editor" is an important feature. I'm willing to require a _very_ simple syntax to keep the implementation simple. -- -- Stephe