shakespeare-js-1.0.0.3: Stick your haskell variables into javascript/coffeescript at compile time.

The shakespeare-js package

Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation . Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToJavascript instance.

There is also shakespeare-coffeescript for coffeescript templates. Coffescript is a language that compiles down to javascript. It expects a coffeescript compiler in your path, and variable should be a ToCoffee instance. And we even have a Roy template for the adventorous FP addicts.

Please see http:www.yesodweb.combookshakespearean-templates for a more thorough description and examples

shakespeare-js was originally called julius, and shakespeare originated from the hamlet template package.

Properties

Versions0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.11.0, 0.11.0.1, 0.11.1, 0.11.2, 1.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3
Dependenciesbase (4.*), shakespeare (1.0.*), template-haskell, text (≥0.7 & <0.12)
LicenseMIT
AuthorMichael Snoyman <michael@snoyman.com>
MaintainerMichael Snoyman <michael@snoyman.com>
StabilityStable
CategoryWeb, Yesod
Home pagehttp://www.yesodweb.com/book/shakespearean-templates
Source repositorygit clone git://github.com/yesodweb/shakespeare.git
Upload dateWed May 23 17:30:40 UTC 2012
Uploaded byGregWeber
Built onghc-7.4
DistributionsNixOS: 1.0.0.2, Debian: 1.0.0.2, FreeBSD: 0.10.4

Modules

Downloads