/ASCII

ASCII Protocol Buffers As Config Files

tl;dr: “This was a tip given to me something like 17 years ago when I was "on the inside", and it's turned out very well. Protocol buffers have a canonical ASCII representation, and it accepts comments, too! You get the benefits of not having to write a scanner or lexer combined with a system in which everything is explicitly specified, right down to the data types.” The author gives examples of what this looks like.

featured in #455