ocaml@4

OCaml 4.x compiler and runtime for ML family programming

brewmacoslinux
Try with needOr install directly
Source

About

General purpose programming language in the ML family

Commands

ocamlocamlcocamloptocamlfindocamlbuild

Examples

Start the OCaml interactive REPL$ ocaml
Compile OCaml source to bytecode$ ocamlc -o program program.ml
Compile OCaml source to native code$ ocamlopt -o program program.ml