[web-devel] richer client experiences

Greg Weber greg at gregweber.info
Tue Jan 25 22:49:51 CET 2011

AFAICT this language is less featureful than coffee-script, its only
advantage being the syntax is slightly more haskellish.

Of course, it does provides a technique for inserting haskell values into
javascript, and having javascript in haskell code. I think it would be
better to add these features to the more widely used coffee script using
that part of JMacro and/or Yesod's similar template tools.

The other option of course is to compile haskell into javascript using ghc
[1] or llvm [2], but these solutions are still immature. The great thing
about coffee-script is that the language was designed as a super-set and
almost everything compiles down to very readable (easy to debug) javascript,
something that is harder to do when compiling an entirely different
[1] https://github.com/sviperll/ghcjs
[2] code.google.com/p/emscripten/wiki/FAQ

On Tue, Jan 25, 2011 at 1:24 PM, Jeff Polakow <jeff.polakow at db.com> wrote:

> Hello,
> > Regarding coffee-script: I
> > think having a Haskell equivalent would be an awesome tool. This could
> > also be another great moment for the Haskell web community to work
> > together.
> >
> Please have a look at jmacro.
> http://haskell.org/haskellwiki/Jmacro
> http://hackage.haskell.org/package/jmacro
> -Jeff
> ---
> This communication may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this communication
> in error) please notify the sender immediately and destroy this
> communication. Any unauthorized copying, disclosure or distribution of the
> material in this communication is strictly forbidden.
> Deutsche Bank does not render legal or tax advice, and the information
> contained in this communication should not be regarded as such.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110125/28614f33/attachment.htm>

More information about the web-devel mailing list