package toml

  1. Overview
  2. Docs
TOML parser

Install

Dune Dependency

Authors

Maintainers

Sources

6.0.0.tar.gz
sha256=dd123c49769fe649f752a19ae5cb7ce63754c1bcca40fa019f8bffca969d6f44
sha512=99f65dbd4a249deffe982e52f412279f0993d914fe5f006785f4daff2be39c228dc80ae18b9d5c4e7d7a5e1ec88aaf7486d52bb1cf7e0508f3e58729fdc6dce6

CHANGES.md.html

Changelog

6.0.0

  • change the structure of the toml library and rename some modules

  • rename toml-cconv to toml_cconv

  • improve print_string output

  • switch to GitHub actions and deploy documentation on gh-pages

5.0.0

  • migration to dune

  • split between toml and toml-cconv

  • compatibility with safe-string for OCaml 4.06

  • remove dependency on str

4.0.0

  • Reintroduces public data types (major breaking change).

  • Exception-safe parsing interface.

  • Add lenses for accessing/updating nested data.

3.0.0

  • Add support for version 0.4 of the language.

2.2.1

  • Fixed dependencies.

2.2.0

  • Numerous convenience functions to reduce verbosity

  • Fix wrong error location returned when parsing an invalid Toml file

  • Parsing a Toml file always throws TomlParser.Error and never Failure

  • Add array of tables

  • Add @since tags in the documentation

  • Add changelog

2.0.0 and 2.1.0

  • Add LGPL licence

  • New parser with menhir

  • Support for nested arrays

  • Support for dates (with Unix.tm type)

  • Support for unicodes espaces ('\uXXXX')

  • Remove the "toml" prefix from type names

  • Add Toml printer

  • Abstract internal types in modules (for constraint application and code factorization)

  • A lot more documentation in source code and Readme

  • Display error location when a ParseError occurs

1.0.0

  • Base parser from ocamllex and ocamlyacc