Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ANN: ocamljs 0.1, OCaml to Javascript compiler
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-11 (22:45)
From: Jake Donham <jake.donham@s...>
Subject: Re: [Caml-list] ANN: ocamljs 0.1, OCaml to Javascript compiler
On 10/11/07, Arnaud Spiwack <> wrote:
> However lack of cross-browser portability seems a severe drawback to me.

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 . 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.