How To Install Js_of_ocaml On Debian, Ubuntu And Raspbian?

How To Install Js_of_ocaml On Debian, Ubuntu And Raspbian?

js_of_ocaml

OCaml bytecode to JavaScript compiler (compiler)

Install js_of_ocaml

  • Debian apt-get install js-of-ocaml Click to copy
  • Ubuntu apt-get install js-of-ocaml Click to copy
  • Raspbian apt-get install js-of-ocaml Click to copy

js-of-ocaml

OCaml bytecode to JavaScript compiler (compiler)

Js_of_ocaml is a compiler of OCaml bytecode to JavaScript. It makes it possible to run OCaml programs in a web browser. Its key features are the following: * the whole language, and most of the standard library are supported; * the generated code can be used with any web server and browser; * you can use a standard installation of OCaml to compile your programs. In particular, you do not have to recompile a library to use it with Js_of_ocaml. You just have to link your program with a specific library to interface with the browser APIs. This package contains the compiler itself.

Installing js_of_ocaml command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu and Raspbian operating systems. Once you run the command it will install the latest version of js_of_ocaml 2024 package in your OS.