New configuration parser ready

Russ Allbery rra at stanford.edu
Wed Sep 4 00:18:35 UTC 2002


David R Fischer <fischerdr at mindspring.com> writes:

> Why not go to a XML parser and do the configuration in that???

Because XML is not a human-writable language.  :)

There was a bunch of discussion about this a while back on the mailing
list, but I don't know if it was before the archives stopped working.  :/

doc/config-design has some additional details on why the decisions were
made that were made; this one in particular is:

 3.  The syntax should look basically like the syntax of readers.conf,
     incoming.conf, and innfeed.conf in INN 2.3.  After extensive
     discussion on the inn-workers mailing list, this seemed to be the
     most generally popular syntax of the ones already used in INN, and
     inventing a completely new syntax didn't appear likely to have gains
     outweighing the effort involved.  This syntax seemed sufficiently
     general to represent all of the configuration information that INN
     needed.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list