Re: parsing braces question
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: parsing braces question

From: Adrian Ho <tcl@03s.net>
Date: Mon Mar 06 2006 - 08:08:57 CET

On 2006-03-06, Charles Heizer <heizer1@llnl.gov> wrote:
> Thanks to all who replied, after looking at the issue I decided I've
> spent way to much time trying to parse others work when that might not
> be the best.
>
> So, I've decided to rewrite the conf file based on xml files which can
> easliy be parsed and used to generate the conf files.

I'm not sure I read you right, but if you're saying your input will now
be user-generated XML in a schema you define (rather than original BIND
conf files), I'm not sure that's a good move. IMO, XML is a decent format
for data interchange and storage, but really terrible for human beings
to work with, esp. without the right tools (editor, validator, parser, etc.).

If you're asking users to give you data in some format other than BIND
config, you might as well make it Tcl syntax (though some might argue
it's close enough to cause confusion and errors), or at least something
else that is easy for your users to work with.

- Adrian
Received on Sun Apr 30 02:24:17 2006