What is an example of a good, modern OCaml codebase that I can learn from?

This page summarizes the projects mentioned and recommended in the original post on /r/ocaml

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • dune

    A composable build system for OCaml.

  • Dune, OCaml's build system, is quite mature and uses many techniques to implement a concurrent job scheduler and RPC server

  • xic

    A compiler for the Xi programming language

  • Here's a compiler for a C-like language written in OCaml (note: I am not one of the authors though I did take the class). Despite it being a college project I think it shows very clean design and particularly good use of preprocessors. All of the details for the language and stuff is linked at the bottom. It's a relatively small codebase of course but I think this is good educationally.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ocaml

    The core OCaml system: compilers, runtime system, base libraries

  • tezos

  • https://gitlab.com/tezos/tezos they have a good on onboarding doc too

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts