News for hackers. Stuff that matters.
Re:Hello, and welcome to DNS by yorwba on Friday March 30, 2018 @11:38PM (#16721569)
I think the zonefile format is the one given in section 5 of https://tools.ietf.org/html/rfc1035

It seems to be a straightforward format for expressing tabular data using whitespace. I'm pretty sure that it was designed to be parsed using hand-written code iterating over an array of characters. Most formats that were defined by their implementation using a hand-written parser tend to be difficult to force into a grammar-based paradigm, because context-sensitivity is much easier to introduce when you write the parser yourself.

C is similarly difficult to parse with a grammar, since pointer declarations like char * ptr and multiplications like x * y are only distinguishable using context about the available types.

There are no comments on this comment yet.