dhall-toml: Convert between Dhall and TOML

[ bsd3, compiler, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Use this package if you want to convert between dhall expressions and TOML. You can use this package as a library or an executable:

  • See Dhall.DhallToToml or Dhall.TomlToDhall modules if you want to use this package as a library

  • Use dhall-to-toml, toml-to-dhall programs from this package if you want an executable.

The Dhall.DhallToToml and Dhall.TomlToDhall modules also contains instructions for how to use this package


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), containers (>=0.5.9 && <0.8), dhall (>=1.39.0 && <1.43), dhall-toml, filepath (<1.6), optparse-applicative (>=0.14 && <0.19), prettyprinter (>=1.7.0 && <1.8), text (>=0.11.1.0 && <2.2), tomland (>=1.3.2.0 && <1.4), unordered-containers (>=0.2 && <0.3) [details]
License BSD-3-Clause
Copyright 2021 ear7h
Author ear7h
Maintainer GenuineGabriella@gmail.com
Category Compiler
Bug tracker https://github.com/dhall-lang/dhall-haskell/issues
Source repo head: git clone https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-toml
Uploaded by GabrielGonzalez at 2025-01-19T20:21:17Z
Distributions NixOS:1.0.3
Executables toml-to-dhall, dhall-to-toml
Downloads 550 total (40 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-01-19 [all 1 reports]

Readme for dhall-toml-1.0.4

[back to package description]

dhall-toml

NOTE: this package has not been completed see the roadmap section

For installation or development instructions, see:

Full documentation is available on Hackage:

Introduction

This dhall-toml package provides a Dhall to TOML compiler.

Example

$ dhall-to-toml <<< "{ foo = 1, bar = True }"
foo = 1
bar = true

Roadmap

    • minimal dhall-to-toml
    • schema inference for toml-to-dhall
    • minimal toml-to-dhall
    • documentation in docs.dhall-lang.org