= Js_of_ocaml =

Js_of_ocaml is a compiler of OCaml bytecode to Javascript.  It makes it possible to run Ocaml programs in a Web browser.  Its key features are the following:
* The whole language, and most of the standard library are supported.
* The compiler is easy to install: it only depends on [[http://projects.camlcity.org/projects/findlib.html|Findlib]] and [[wiki(21):|Lwt]].
* The generated code is independant of [[wiki(15):|Eliom]] and the [[wiki(12):|Ocsigen server]]. You can use it with any Web server. 
* You can use a standard installation of OCaml to compile your programs.  In particular, you do not have to recompile a library to use it with Js_of_ocaml.
You just have to link your program with a specific library to interface with the browser APIs.

A few small demos are available on-line:
* [[planet|An animated 3D view of the Earth]]
* [[graph|A graph viewer]]
* [[boulderdash|A Boulder Dash game]]
* [[wiki|A realtime wiki editor]]

You can also read a more detailed [[overview|overview]] with installation instructions and the [[lib/overview|documentation of the associated library]].

= Js_of_ocaml =

Js_of_ocaml is a compiler of OCaml bytecode to Javascript.  It makes it possible to run Ocaml programs in a Web browser.  Its key features are the following:
* The whole language, and most of the standard library are supported.
* The compiler is easy to install: it only depends on [[http://projects.camlcity.org/projects/findlib.html|Findlib]] and [[wiki(21):|Lwt]].
* The generated code is independant of [[wiki(15):|Eliom]] and the [[wiki(12):|Ocsigen server]]. You can use it with any Web server. 
* You can use a standard installation of OCaml to compile your programs.  In particular, you do not have to recompile a library to use it with Js_of_ocaml.
You just have to link your program with a specific library to interface with the browser APIs.

A few small demos are available on-line:
* [[toplevel|An OCaml toplevel running in the browser]
* [[planet|An animated 3D view of the Earth]]
* [[graph|A graph viewer]]
* [[boulderdash|A Boulder Dash game]]
* [[wiki|A realtime wiki editor]]

You can also read a more detailed [[overview|overview]] with installation instructions and the [[lib/overview|documentation of the associated library]].
