Skip to content

Array tables #8

Description

@clord

Toml has array sections:

[[a]]
x = 1
[[a]]
x = 2

which parses to the same thing as:

a = [{"x": 1}, {"x": 2}]

(confirm)

I don't want to tokenize runs of two brackets separately because they occur with their normal meaning elsewhere, e.g., nested array literals: x = [[1,2,3], [4,5,6]] so they will have to be parsed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions