Parse parses restricted TOML bytes into an intermediate Document.
Allowed: standard tables, nested tables, dotted bare keys, bare keys only,
scalar values, and arrays of primitive scalars.
Forbidden: quoted keys, inline tables, arrays of tables.
const (
// KindString is a string scalar. KindString Kind = iota// KindBool is a boolean scalar. KindBool
// KindInt is an integer scalar. KindInt
// KindFloat is a floating-point scalar. KindFloat
// KindArray is an array of primitive scalars. KindArray
)