Bravo: Static text template generation library

[ bsd3, library, text ] [ Propose Tags ]

Bravo is a text template library that provides parsing and generation of templates at compile time. Templates can be read from strings or files and for each a new record data type is created, allowing convenient access to all template variables in a type-safe manner. Since all templates are processed at compile time, no extra file access or error handling at runtime is necessary.

Additional features include the definition of multiple templates per file, conditional template evaluation, embeddeding of Haskell expressions and customized data type generation.

Versions 0.1.0, 0.1.0.1
Dependencies base (>=3.0 && <5), haskell-src-exts (>=1.2 && <2), haskell-src-meta (>=0.0.6 && <0.1), mtl (>=1.1.0.2 && <1.2), parsec (>=2.1.0.1 && <3), template-haskell (>=2.3.0.1 && <2.4) [details]
License BSD-3-Clause
Copyright (C) 2010, Matthias Reisner
Author Matthias Reisner
Maintainer Matthias Reisner <matthias.reisner@googlemail.com>
Category Text
Home page http://www.haskell.org/haskellwiki/Bravo
Uploaded by MatthiasReisner at Thu Mar 11 04:05:02 UTC 2010
Distributions NixOS:0.1.0.1
Downloads 1117 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-30 [all 7 reports]
Hackage Matrix CI

Modules

  • Text
    • Text.Bravo

Downloads

Maintainer's Corner

For package maintainers and hackage trustees