IOCaml is an OCaml kernel for the IPython notebook. This provides a REPL within a web browser with a nice user interface including markdown based comments/documentation, mathjax formula and the possibility of generating all manner of HTML based output media from your code.
See also
This repository hosts the iocaml-kernel package.
Installation requires opam and OCaml >= 4.01.0.
The kernels can be used with either the IOCaml notebook server or the IPython server. Installation of the later is described here.
To use the OCaml server you just need to
$ opam install iocaml
which will also install the kernels. To just install the kernels use
$ opam install iocaml-kernel
$ opam install iocaml-kerneljs
The following options may be given to the IOCaml-kernel (via the IPython profile config) or IOCaml-server.
-log <filename>
open log file-init <file>
load file
instead of default init file-completion
enable tab completion-object-info
enable introspectionThe following option is for use with IPython
-connection-file <filename>
connection file name