We are pleased to announce a preliminary version of ocamljs, a back-end
to ocamlc that produces Javascript. It needs a lot of work still, but we
are using it for production work at Skydeck. We hope that you will find
it useful. More at:
http://skydeck.com/blog/programming/ocamljs-ocaml-to-javascript-compiler/
Jake Donham, for Skydeck
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
We have not tested it on browsers other than Firefox but that doesn't
mean it won't work (or can't be made to work) on others. My
understanding is that it is the DOM rather than the Javascript dialect
that varies across browsers.
> To write javascript code, it is more and more popular to use frameworks
> (well, it is indispensible actually). My personnal favorite, which seems
> to be rather popular is http://mootools.net/ . It provides better
> constructs for basic operations (and then high level more specialized
> stuff). I would love to see your product actually producing mootools
> core (or a bit not so core) code.
I don't know mootools, but it is very straightforward to wrap
Javascript in OCaml with ocamljs; see the included Mozilla library for
a small example.
Jake
--
virtue is like underwear, it has to go with you, but you do not need to show
it.
Cheers,
David
> are using it for production work at Skydeck. We hope that you will find
it useful. More at:
>
> http://skydeck.com/blog/programming/ocamljs-ocaml-to-javascript-compiler/
>
> Jake Donham, for Skydeck
>
Hi
I've been trying to get ocamljs installed and have run into a problem.
I've installed Ocaml 3.10, and sym-linked the install directory, but when
I try to make ocamljs, ocamlbuild seems to fail.
Not even one file builds, and after a long error message, finally reports:
Exiting due to hygiene violations.
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:10.
I'm using Cygwin, if that helps.
Thanks,
Peter.
Cheers,
-n8
On 10/17/07, Peter....@cis.strath.ac.uk
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->