Deprecated

In favour of

shakespeare-js

Stick your haskell variables into javascript/coffeescript at compile time. (deprecated) http://www.yesodweb.com/book/shakespearean-templates

Latest on Hackage:1.3.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Michael Snoyman

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.

shakespeare-javascript is also known as Julius, and passes through plain javascript.

There is also a shakespeare version for CoffeeScript, TypeScript, and Roy, all languages that compile down to Javascript. They all expect you to have the appropriate compiler in your path.

shakespeare originated from the hamlet template package. Please see http://www.yesodweb.com/book/shakespearean-templates for a more thorough description and examples.

comments powered byDisqus