package js_of_ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Compiler from OCaml bytecode to JavaScript
Install
dune-project
Dependency
Authors
Maintainers
Sources
js_of_ocaml-6.4.0.tbz
sha256=7ae22a7e5a6c6aa14a8e2695fa62c66f32cb20db17f1b45dc21e97009342151f
sha512=6cea398d61d4be8e38e912ba7e4bad4f7b81b10d946cdf29026274b5a4b2cc2709fb75e23f7cbe2db335cc65679c262a8aa1b9148effc987d6e79665a7538286
doc/examples.html
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:
Graphics & Visualization
- Rotating planet — Animated 3D view of the Earth
- Lozenge tilings — Random walk on lozenge tilings
- WebGL demo — WebGL graphics demo
- Hyperbolic tree — Hyperbolic geometry visualization
- Graph viewer — Interactive graph visualization
- OCaml Graphics library — OCaml Graphics library in the browser
Games
- Boulder Dash — Classic game remake
- Minesweeper — Classic puzzle game
Editors
- Real-time wiki editor — Real-time collaborative wiki
- WYSIWYG wiki editor — WYSIWYG wiki editor
Toplevel
- OCaml toplevel — Interactive OCaml REPL in the browser
In the wild
Real-world projects built with js_of_ocaml:
Emulators and games
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
- Ocsigen tutorial — Build a web app with Eliom and js_of_ocaml
- OCaml.org — Getting started with OCaml
Submit your project
Using js_of_ocaml in a project? Open a GitHub issue to have it listed here.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page