The Bravo package
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, embedding of Haskell expressions and customized data type generation.
Properties
| Versions | 0.1.0, 0.1.0.1 |
|---|---|
| Dependencies | base (≥3.0.3 & <4), 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.0), template-haskell (≥2.3.0.1 & <2.4) or base (≥3.0.3 & <4), haskell-src-exts (≥1.2 & <2), haskell-src-meta (0.1.*), mtl (≥1.1.0.2 & <1.2), parsec (≥2.1.0.1 & <3.0), template-haskell (2.4.*) or base (4.*), 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.0), syb (≥0.1.0.1 & <0.2), template-haskell (≥2.3.0.1 & <2.4) or base (4.*), haskell-src-exts (≥1.2 & <2), haskell-src-meta (0.1.*), mtl (≥1.1.0.2 & <1.2), parsec (≥2.1.0.1 & <3.0), syb (≥0.1.0.1 & <0.2), template-haskell (2.4.*) |
| License | BSD3 |
| Copyright | (C) 2010, Matthias Reisner |
| Author | Matthias Reisner |
| Maintainer | Matthias Reisner <matthias.reisner@googlemail.com> |
| Stability | experimental |
| Category | Text |
| Home page | http://www.haskell.org/haskellwiki/Bravo |
| Upload date | Wed Mar 24 01:43:29 UTC 2010 |
| Uploaded by | MatthiasReisner |
| Built on | ghc-6.12 |
| Build failure | ghc-7.0 (log), ghc-7.4 (log) |
Modules
- Text
Downloads
- Bravo-0.1.0.1.tar.gz (Cabal source package)
- package description (included in the package)