miniblog.
← Back to all posts
Wilfred Hughes
Jul 17, 2017 at 07:13
How do you document a grammar? TOML went with ABNF for docs, even though PEG is often nicer for implementation:
https://github.com/toml-lang/toml/pull/236#issuecomment-70293750
Add ABNF description of TOML. by mojombo · Pull Request #236 · toml-lang/toml
One of the most important things we'll need for the TOML 1.0 release is a proper grammar. I've worked one up here as a starting point. I chose RFC 4234 ABNF because it feels much more moder...