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

Thomas,
All published examples (source, html) go into web/jsdemos subdirectory
(from the root of the Yhc repo source tree).
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
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

2007/11/26, Dimitry Golubovsky
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 http://haskell.org/haskellwiki/Yhc/Javascript/Users_guide#Building_and_insta... 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. t.
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
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
participants (2)
-
Dimitry Golubovsky
-
Thomas Hartman