package js_of_ocaml
All checked builds pass 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.5.0.tbz
sha256=a991ce25175a5a13240c8bf64354b8f35e0a8d7223b90bef01ba32bc6f929cf4
sha512=ce476986cb2c78990f29b1d7a01bb173a0d30ad0e0a80ba7bde9aa8365952ed01eda4935d92a323b982b0c1c897b20ef01eabe75fe80e4da858f73f6a2d25232
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