Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Javascript back-end for OCamlc

branch: master
Octocat-spinner-32 bin handle args with spaces December 01, 2008
Octocat-spinner-32 build ocamljs in setup September 26, 2007
Octocat-spinner-32 examples build planet example August 26, 2010
Octocat-spinner-32 src Merge branch 'master' of git@github.com:jaked/ocamljs October 22, 2010
Octocat-spinner-32 test printf fixes August 26, 2010
Octocat-spinner-32 tools oops obsolete gears_init.js August 10, 2010
Octocat-spinner-32 .exclude make dist August 26, 2010
Octocat-spinner-32 .gitignore don't ignore primitives.js and support.js October 13, 2010
Octocat-spinner-32 LICENSE copyrights August 19, 2010
Octocat-spinner-32 Makefile make dist August 26, 2010
Octocat-spinner-32 README.markdown readme August 18, 2010
Octocat-spinner-32 TODO todos August 25, 2010
Octocat-spinner-32 configure bumped versions August 19, 2010
README.markdown

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:

  1. Unpack OCaml source adjacent to the ocamljs tree
  2. ./configure
  3. make
  4. make install
  5. make examples

Ocamljs is written by Jake Donham, with contributions from

  • Dave Benjamin (jQuery binding and examples)
  • Haoyang Wang
  • Mike Wells
  • Stepan Zastupov
Something went wrong with that request. Please try again.