ocamlc

The OCaml bytecode compiler.

TLDR

Create a binary from a source file

$ ocamlc [path/to/source_file.ml]
copy

Create a named binary from a source file

$ ocamlc -o [path/to/binary] [path/to/source_file.ml]
copy

Automatically generate a module signature (interface) file

$ ocamlc -i [path/to/source_file.ml]
copy

Copied to clipboard
gala