[Haskell-cafe] New demo/test program for Yhc Javascript backend

Thomas Hartman tphyahoo at gmail.com
Mon Nov 26 13:11:18 EST 2007

2007/11/26, Dimitry Golubovsky <golubovsky at gmail.com>:
> Thomas,
> All published examples (source, html) go into web/jsdemos subdirectory
> (from the root of the Yhc repo source tree).

right; it would be nice to have a makefile (or makefiles) there that
works out of the box, rather than relying on the wiki


which, among other things, requires cleaning up tabs for the
formatting to work. Even if it can't be incorporated into the
buildbot, it would be nice to have some working make examples to
orient one's self.

Secondly, with regards to your cps changes, are you aware of *any*
demos that will compile from head?

I want to get going with this because I have a situation where ycr2js
would be really useful for an in-house project,  client side table
filtering on large tables.

Maybe I should say a bit about this as well so you can tell me if this
seems realistic, I'll write a separate email about that.


> Not all of them may be compilable at the moment though (and some will
> never be compilable in the future, just kept there for historic
> reasons - that's why they are not being tested by the buildbot).
> I am currently going through transition from plain CPS to Cont monad,
> so regular monadic notation can be used instead of CPS. However I am
> experiencing memory leaks in MSIE (try the EchoM example) which I did
> not expect to happen (never had them in plain CPS). If I cannot fix
> that I'll roll back to plain CPS.
> On 11/26/07, Thomas Hartman <tphyahoo at gmail.com> wrote:
> > It would be really helpful if you could include this (and other)
> > examples in an /examples directory under
> >
> > src/translator/js
> >
> --
> Dimitry Golubovsky
> Anywhere on the Web

More information about the Haskell-Cafe mailing list