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-29 11:25:34 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: A standard package for config files is needed Date: 29 May 2002 11:25:33 -0700 Organization: http://groups.google.com/ Message-ID: <4519e058.0205291025.703a1b3b@posting.google.com> References: NNTP-Posting-Host: 66.109.83.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1022696734 21408 127.0.0.1 (29 May 2002 18:25:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 May 2002 18:25:34 GMT Xref: archiver1.google.com comp.lang.ada:24951 Date: 2002-05-29T18:25:34+00:00 List-Id: Preben Randhol wrote in message news:... > Then there is the issue of the layout of the config file. Either one > could do: ... I think you need to get a bit more specific than you have here. The reason is that a "configuration file reader" is, from the perspective of the person who has to make the darned thing, nothing more than a compiler (or at least a lexical analyzer). If you don't put strict limits on the kind of configuration "languages" that will be supported, you are going to need a general-purpose compiler construction kit (like lex or OpenToken). > I think this is a package that should be kept as simple as possible and > easy to use and robust. If simplicity is indeed that important of a goal, you *must* specify the language. -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html