Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Examples

This page showcases js_of_ocaml projects, from simple demos to real-world applications.

Demos

These demos are included in the js_of_ocaml repository:

In the wild

Real-world projects built with js_of_ocaml:

Emulators and games

  • Camlboy — Game Boy emulator written in OCaml
  • Graffiti — Multi-user drawing application

Development tools

  • Try OCaml — Online OCaml REPL
  • Sketch.sh — Interactive OCaml notebook
  • BetterOCaml — Online OCaml editor with toplevel
  • Hazel — Live functional programming environment

Languages and compilers

  • Flow — Static type checker for JavaScript
  • Grain — Functional programming language compiling to WebAssembly

Tutorials and learning resources

Submit your project

Using js_of_ocaml in a project? Open a GitHub issue to have it listed here.