Documentation

Lake.Toml.Grammar

TOML Grammar #

A Lean encoding of the v1.0.0 TOML grammar (en, [abnf]]2) using Lean.Parser objects. The current encoding elides the use of tokens entirely, relying purely on custom parser functions.

Is it a TOML control character? (excludes tabs and spaces)

Instances For

    Trailing Functions #

    Consume optional horizontal whitespace (i.e., tab or space).

    Instances For

      Consume a newline.

      Instances For

        Consumes a line comment.

        Instances For

          Consume optional whitespace (space, tab, or newline).

          Consume optional sequence of whitespace / newline(s) / comment (s).

          Strings #

          A TOML character escape.

          Instances For

            Numerals (Date-Times, Floats, and Integers) #

            Instances For

              Parsers #