Home

Awesome

<img src="./img/dhall-logo.svg" width="600" alt="Dhall Logo"> <head> <meta charset="UTF-8"> </head>

Dhall is a programmable configuration language optimized for maintainability.

You can think of Dhall as: JSON + functions + types + imports

Note that while Dhall is programmable, Dhall is not Turing-complete. Many of Dhall's features take advantage of this restriction to provide stronger safety guarantees and more powerful tooling.

You can try the language live in your browser by visiting the official website:

Getting started

The easiest way to get started experimenting with Dhall is to install the dhall-to-json and/or dhall-to-yaml executables, which enable you to generate JSON and YAML, respectively, on the command line. Platform- and runtime-specific installation instructions can be found in the Dhall documentation.

For other ways to integrate Dhall in your project, read:

Tutorials

For a short introduction, read:

To learn more about core language features, read:

For an even longer hands-on tutorial, read:

... and for an even longer tutorial, read:

Finally, we have a cheatsheet for a very condensed overview and quick lookup:

What is this repository?

The Dhall configuration language has multiple implementations so that Dhall configuration files can be understood natively by several programming languages. You can find the latest list of the language bindings and their respective repositories here:

This repository contains language-independent functionality, such as:

Development status

The current version and versioning policy is detailed in the Versioning document, and you can see the latest changes in the Changelog.

The Dhall configuration language slowly evolves in response to user feedback and if you would like to participate in the language evolution process then you should read:

Design philosophy

Programming languages are all about design tradeoffs and the Dhall language uses the following guiding principles (in order of descending priority) that help navigate those tradeoffs:

The Dhall configuration language is also designed to negate many of the common objections to programmable configuration files, such as:

"Config files shouldn't be Turing complete"

Dhall is not Turing-complete. Evaluation always terminates, no exceptions

"Configuration languages become unreadable due to abstraction and indirection"

Every Dhall configuration file can be reduced to a normal form which eliminates all abstraction and indirection

"Users will go crazy with syntax and user-defined constructs"

Dhall is a very minimal programming language. For example: you cannot even compare strings for equality. The language also forbids many other common operations in order to force users to keep things simple

Name

The language is named after a Dustman from the game Planescape: Torment who belongs to a faction obsessed with death (termination). The fountain pen in the logo is the modern analog of Dhall's quill.

The name rhymes with "tall"/"call"/"hall" (i.e. "dɔl" for a US speaker or "dɔːl" for a UK speaker using the International Phonetic Alphabet).

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute]. <a href="https://github.com/dhall-lang/dhall-lang/graphs/contributors"><img src="https://opencollective.com/dhall/contributors.svg?width=890&button=false" /></a>

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

<a href="https://opencollective.com/dhall"><img src="https://opencollective.com/dhall/individuals.svg?width=890"></a>

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

<a href="https://opencollective.com/dhall/organization/0/website"><img src="https://opencollective.com/dhall/organization/0/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/1/website"><img src="https://opencollective.com/dhall/organization/1/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/2/website"><img src="https://opencollective.com/dhall/organization/2/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/3/website"><img src="https://opencollective.com/dhall/organization/3/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/4/website"><img src="https://opencollective.com/dhall/organization/4/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/5/website"><img src="https://opencollective.com/dhall/organization/5/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/6/website"><img src="https://opencollective.com/dhall/organization/6/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/7/website"><img src="https://opencollective.com/dhall/organization/7/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/8/website"><img src="https://opencollective.com/dhall/organization/8/avatar.svg"></a> <a href="https://opencollective.com/dhall/organization/9/website"><img src="https://opencollective.com/dhall/organization/9/avatar.svg"></a>