[Oisf-wg-configuration_language] Configuration Structure

Nick Rogness nick at rogness.net
Wed Aug 5 02:25:22 UTC 2009


On Thu, Jul 30, 2009 at 8:39 AM, Victor Julien <victor at inliniac.net> wrote:
>>
>> In other words, no configuration language exists in our codebase at this
>> point.
>>
>> Since our schedule is pretty tight, this probably means we should go for
>> existing code for this part of the engine. So suggestions for libraries
>> are very much appreciated.

> [SNIP]
> No one going to speak up about XML?

This is a no brainer, config should be in XML. Maybe the better
question should be why NOT use XML for the config syntax?

As I mentioned on the rules list, using XML gives the engine the
flexibility to make parsing, integration, and versioning a breeze.
Using a well known library like libXML2 makes parsing in C fairly
straight forward.  Additionally, every other language worth a mention
already have XML libraries so building GUIs and integrating with other
party's software could be straight forward.

Nick Rogness



More information about the Oisf-wg-configuration_language mailing list