Compiler

The OCaml compiler is a complicated software artifact. Below is an attempt to document information that could not fit easily into the codebase, including relevant papers. Feel free to break this up into pages as the need arises.

Articles

Presentation on OCaml Internals (pdf)

Interesting Branches of the Compiler

  • Multicore OCaml
  • Typed Algebraic Effects

Parser

ppx

Typechecker

Lambda

Pattern Matching

Flambda

Clambda

cmm

Register Coloring

assembly

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License