TOML

TOML does not have a formal grammar specification, although it does now have a draft proposal for an ABNF grammar.

This Grit grammar is derived from the TOML v0.5.0 English language definition.


This grammar has not yet been tested or used.

Notes

The spec says numeric values may have an underscore between digits, which excludes a trailing underscore, but this Grit grammar would allow that.