← OCaml

Outils et licences

# Outils embarqués

Le moteur x-ocaml est hébergé avec le site, sans CDN ni appel IA.
Source : https://github.com/art-w/x-ocaml
Binaire : https://github.com/art-w/x-ocaml.js/tree/45b23e2db3fece09dbcb19019dda2798944c9ed6
Version publiée : 6 ; compilateur OCaml 5.3, js_of_ocaml 6.1.
SHA256 du worker : 0d46618cb1b5bbc3f8457d1d3d9da7d2a03989bdb5fc6768ed532b1426a92b48

Le worker inclut OCaml (LGPL-2.1 avec exception de liaison OCaml), js_of_ocaml (LGPL-2.1 avec exception de liaison, compilateur GPL-2.0), Merlin / merlin-js (MIT), OCamlformat (MIT), ainsi que leurs dépendances. Les sources complètes et instructions de reconstruction sont dans le dépôt x-ocaml, avec ses sous-modules épinglés. Le runtime est livré sans modification ; notre pont JavaScript est séparé.

CodeMirror 6 et ses modules : MIT, https://github.com/codemirror/dev/ . Leurs notices sont conservées dans les paquets et les bundles distribués par Vite.

## x-ocaml

MIT License

Copyright (c) 2025 Arthur Wendling, Tarides

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


## Version-matched engines

OCaml 4.14.1 and 5.5.1 engines are built from our `engine/engine.ml`,
source revision `f52e7cd0e5d80580753c57b388c0e60f80763659`, using
js_of_ocaml 6.4.1, Yojson 3.0.0 and the matching compiler and standard library.
Build: https://github.com/desboisGIT/chaillou-work/actions/runs/39125783995
The bridge is separate from the unmodified 5.3 x-ocaml worker.
Hashes and source-file checksums: `engine/vendor-manifest.json`.

| Compiler | File | SHA256 |
| --- | --- | --- |
| 4.14.1 | `engine-4.14.1.js` | `fc078d121a4abcbbdee780bba938f4218449cde22cc92a23e726cab25f9c0697` |
| 5.5.1 | `engine-5.5.1.js` | `ddaea666aaa538f66f607502bda573c48cdfcc063037c0858e915b5b5988f193` |

Compiler/standard-library sources and license (LGPL 2.1 with the OCaml linking exception):
https://github.com/ocaml/ocaml/tree/4.14.1
https://github.com/ocaml/ocaml/tree/5.5.1

js_of_ocaml 6.4.1 source and license (LGPL 2.1 with the linking exception for libraries/runtime; GPL 2.0 for the compiler):
https://github.com/ocsigen/js_of_ocaml/tree/6.4.1

Yojson 3.0.0 source and license (BSD-3-Clause):
https://github.com/ocaml-community/yojson/tree/3.0.0

The settings' default Material palette is visually inspired by BetterOCaml
(https://github.com/jbdo99/betterocaml). No BetterOCaml source code is incorporated.