dhall-toml: Convert between Dhall and TOML

[ bsd3, compiler, library, program ] [ Propose Tags ]

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

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 1.0.2
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), containers (>=0.5.9 && <0.7), dhall (>=1.39.0 && <1.42), dhall-toml, optparse-applicative (>=0.14 && <0.18), prettyprinter (>=1.7.0 && <1.8), text (>=0.11.1.0 && <2.1), tomland (>=1.3.2.0 && <1.4), unordered-containers (>=0.2 && <0.3) [details]
License BSD-3-Clause
Copyright 2021 ear7h
Author ear7h
Maintainer Gabriel439@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 2022-02-22T02:17:02Z
Distributions NixOS:1.0.2
Executables toml-to-dhall, dhall-to-toml
Downloads 165 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-02-22 [all 1 reports]

Readme for dhall-toml-1.0.2

[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 here:

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