A configuration language guaranteed to terminate
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dhall-bash Version 1.19.1 → 1.20.0 (#767) Dec 29, 2018
dhall-json Version 1.19.1 → 1.20.0 (#767) Dec 29, 2018
dhall-text Version 1.19.1 → 1.20.0 (#767) Dec 29, 2018
dhall-try Version 1.19.1 → 1.20.0 (#767) Dec 29, 2018
dhall Use git submodule to obtain official Prelude and test suite (#787) Jan 19, 2019
nix Change `default.nix` to use static linking when possible (#786) Jan 19, 2019
.gitignore Replace .gitigore with one from github/gitignore (#264) Feb 14, 2018
.gitmodules Use git submodule to obtain official Prelude and test suite (#787) Jan 19, 2019
.travis.yml Make format and dhall subcommands of dhall executable (#452) Jun 10, 2018
LICENSE Migrate `dhall-{bash,json,text}` into this repository (#661) Oct 29, 2018
README.md Add contributing instructions for the website (#760) Dec 20, 2018
cabal.project Update stack/cabal config to sync with new structure (#671) Nov 6, 2018
default.nix Change `default.nix` to use static linking when possible (#786) Jan 19, 2019
release.nix Add contributing instructions for the website (#760) Dec 20, 2018
stack-lts-11.yaml Update stack/cabal config to sync with new structure (#671) Nov 6, 2018
stack-lts-12.yaml Add eta support and update stack config to lts-13 (#778) Jan 12, 2019
stack-lts-6.yaml Add eta support and update stack config to lts-13 (#778) Jan 12, 2019
stack.yaml Add eta support and update stack config to lts-13 (#778) Jan 12, 2019

README.md

dhall-haskell

You will probably want to read the language-agnostic README here:

This repository focuses on the Haskell bindings to Dhall and contains the following packages:

Navigate to each package's directory for their respective READMEs

Pre-built binaries

You can download pre-built binaries for Windows and Linux on the release page:

For OS X, use brew to install the desired package. For example:

$ brew install dhall-json

Building from source

cabal

You can build all of the packages by running:

$ cabal new-build all

And each of them with cabal new-build <package-name>, for example:

$ cabal new-build dhall

... or you can run cabal new-build within each package directory.

nix

You can build all of the packages by running:

$ nix-build

... or you can run nix-build within each package's respective directory to build just that one package.

You can install all of the packages by running:

$ nix-env --install --file default.nix

... or you can run the same command within each package's respective directory to install just that one package.

You can develop any package by navigating to that package's directory and running:

$ nix-shell
[nix-shell]$ cabal configure
[nix-shell]$ cabal build
[nix-shell]$ cabal test

... or you can add nix: True to your ~/.cabal/config file and then you can run the same cabal commands without an explicit nix-shell:

$ cabal configure
$ cabal build
$ cabal test

stack

You can build all of the packages with

$ stack build

And each of them with stack build <package-name>, for example:

$ stack build dhall-json

Build the website

Building the website from source is currently only supported for Nix on Linux.

You can build the static assets by running:

$ nix-build --attr website

... then open ./result/index.html in your browser.

You can also download an archive containing the pre-built website from CI using this link:

Contributing

Read the following guide if you would like to contribute: