hakyll-dhall: Dhall compiler for Hakyll

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

Please see the README on GitHub at https://github.com/mstksg/hakyll-dhall#readme


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.2.0, 0.2.2.1, 0.2.2.2, 0.2.3.0, 0.2.4.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), binary, cborg, containers, data-default-class, dhall (>1.17), filepath, hakyll (>=4.10), hakyll-dhall, lens-family-core, mtl, prettyprinter, text, transformers [details]
License BSD-3-Clause
Copyright (c) Justin Le 2018
Author Justin Le
Maintainer justin@jle.im
Category Web
Home page https://github.com/mstksg/hakyll-dhall#readme
Bug tracker https://github.com/mstksg/hakyll-dhall/issues
Source repo head: git clone https://github.com/mstksg/hakyll-dhall
Uploaded by jle at 2018-10-09T04:59:01Z
Distributions NixOS:0.2.4.0
Executables hakyll-dhall-test-app
Downloads 4561 total (45 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-10-09 [all 1 reports]

Readme for hakyll-dhall-0.2.1.0

[back to package description]

hakyll-dhall

hakyll-dhall on Hackage Build Status

Hakyll compiler and loader for Dhall files. Functions are intended to track all local dependencies within the project directory, so rebuilds are properly triggered on up-stream imports. Provides options for customizing rebuilding behavior for network, environment variable, and non-project local files.

loadDhall and loadDhallExpr allow for loading and parsing of Dhall files for usage within the 'Compiler' monad, so you can use the results as intermediate parts in building your pages. parseDhall allows directly passing in Dhall strings to parse and resolve, tracking imports. dhallCompiler is meant as a "final end-point", which just pretty-prints a parsed Dhall file, with optional normalization.

Hakyll compiler and loader for Dhall files. Functions are intended to track all local dependencies within the project directory, so rebuilds are properly triggered on up-stream imports. Provides options for customizing rebuilding behavior for network, environment variable, and non-project local files.

There are three major workflows:

  1. dExprCompiler, loadDhall, and dhallCompiler, for loading underlying Dhall files, saving them into the Hakyll cache and later interpreting them as values.

  2. parseDhall and parseDhallExpr, for parsing Dhall expressions provided as strings, and resolving them while tracking dependencies.

  3. dhallPrettyCompiler, for processing and re-formatting Dhall files and presenting them as-is as a "final end-point".