All Projects → xvw → js_of_ocaml_bootstrapper

xvw / js_of_ocaml_bootstrapper

Licence: GPL-3.0 License
A super simple library (with use case) for Js_of_ocaml

Programming Languages

ocaml
1615 projects
Makefile
30231 projects
Standard ML
205 projects

This project is completely rewritted

Js_of_ocaml bootstrapper

A simple small library for MVP in OCaml and JavaScript

Get and install the library

Actually, the library is not on OPAM (the package is still exprimental).

git clone https://github.com/xvw/js_of_ocaml_bootstrapper
cd js_of_ocaml_bootstapper
make
make install
git checkout bootstrapp

And now you are in a folder with a bootstrapped project (look at the Makefile and src/custom.ml).

Manual compilation

If you don't want use the bootstrapper, after installation, you can just use :

ocamlfind ocamlc -package js_of_ocaml -syntax camlp4o -package js_of_ocaml.syntax -package js_of_ocaml_bootstapper -linkpkg -o your_file.byte your_file.ml

and run

js_of_ocaml -o your_output.js your_file.byte
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].