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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), containers (>=0.5.9 && <0.8), dhall (>=1.39.0 && <1.43), dhall-toml, 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
Revised Revision 2 made by GabrielGonzalez at 2024-09-29T13:37:57Z
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 2023-04-19T03:09:58Z
Distributions NixOS:1.0.3
Executables toml-to-dhall, dhall-to-toml
Downloads 510 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-01-06 [all 3 reports]

Readme for dhall-toml-1.0.3

[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