Javascript back-end for OCamlc
See the code#Ocamljs#
Ocamljs is a system for compiling OCaml to Javascript. It includes a
Javascript back-end for the OCaml compiler, as well as several support
libraries, such as bindings to the browser DOM. Ocamljs also works
with orpc for RPC over HTTP, and
froc for functional reactive browser
programming. The full OCaml language and much of the OCaml standard
library is supported. There is special support for the object system
so Javascript objects may be called from OCaml and vice-versa.
You can download ocamljs at http://github.com/jaked/ocamljs/downloads.
See Introduction and Installation.
For a quick start:
ocamljs tree./configuremakemake installmake examplesOcamljs is written by Jake Donham, with contributions from
OCaml
97.6%
JavaScript
2.3%
Javascript back-end for OCamlc
See the code#Ocamljs#
Ocamljs is a system for compiling OCaml to Javascript. It includes a
Javascript back-end for the OCaml compiler, as well as several support
libraries, such as bindings to the browser DOM. Ocamljs also works
with orpc for RPC over HTTP, and
froc for functional reactive browser
programming. The full OCaml language and much of the OCaml standard
library is supported. There is special support for the object system
so Javascript objects may be called from OCaml and vice-versa.
You can download ocamljs at http://github.com/jaked/ocamljs/downloads.
See Introduction and Installation.
For a quick start:
ocamljs tree./configuremakemake installmake examplesOcamljs is written by Jake Donham, with contributions from
OCaml
97.6%
JavaScript
2.3%