[Oisf-wg-configuration_language] please do not write our own parser

Jeff Dickey jdickey at seven-sigma.com
Tue Sep 22 10:12:32 UTC 2009


Good idea. I¹ve used YAML on several projects before (Python and PHP) and
found it to be quite good ­ both in terms of what it supports and in terms
of making the team think clearly about what needed support ­ if it was Œtoo
difficult¹ in YAML, we were probably (and in retrospect, generally) Doing
Something Wrong.

But that¹s really not the point. I¹m firmly with Scott¹s sentiments on this,
and would further say that we should devote a few refactoring cycles to
identifying and ruthlessly eliminating any NIHisms in our code base.
Especially if we¹re going to eventually air our dirty laundry through open
source,  anything we do that is yet another implementation of a core
infrastructure pattern should build on existing, proven code as much as
possible. If we say ³yeah, Project Q does 95% of what we need, but not
everything,² then, instead of writing a whole new implementation, either
work within the existing Project Q community or explicitly fork their stuff
to add ours.... since they¹ve already got most of what we need anyway. YAML
is successful even though it¹s yet another config language because it adds
value over and above the traditional alternatives ­ binary bit soup, INI
files or XML. Other successful projects that solve common problems can,
almost universally, say the same thing.

My two rupiah worth, anyway.

Jeff


On 22/9/09 24:52 , "Jason Ish" <ish at unx.ca> wrote:

> On Mon, Sep 21, 2009 at 8:36 AM, Scott MacGregor <shadowbq at gmail.com> wrote:
>> Writing our own parser is no better than what snort did, folks.. There
>> is no consensus on what snort "configurations" are capable with which
>> versions of snort.
>> 
>> I feel that YAML is a good direction.
> 
> We've stuck with YAML.  Nothing seemed as perfect as doing a custom grammar,
> but this came close enough.
> 
> Jason
> 
> 
> 
> _______________________________________________
> Oisf-wg-configuration_language mailing list
> Oisf-wg-configuration_language at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-wg-configuration_
> language

-- 
Jeff Dickey         http://archlever.blogspot.com/
Email:              jdickey at seven-sigma.com
Phone/SMS:          +65 8333 4403
Skype:              jeff_dickey
LinkedIn:           jdickey
Yahoo! IM:          jeff_dickey
MSN IM:             jeff_dickey at hotmail.com (for IM only, please)
ICQ:                8053918
QQ:                 30302349
GnuPG key:
    Fingerprint     D367 FB97 4E59 BEC0 8EBC  D8E3 3BD4 7D4C DFE0 6488
    Valid from      01 July 2009 to 31 December 2009
    Download from   http://tr.im/qqQa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-wg-configuration_language/attachments/20090922/56e3988c/attachment-0002.html>


More information about the Oisf-wg-configuration_language mailing list