awesome-ocaml

OCaml toolkit

A curated collection of resources and tools for OCaml developers

A curated collection of awesome OCaml tools, frameworks, libraries and articles.

GitHub

3k stars
126 watching
167 forks
last commit: almost 2 years ago
Linked from 8 awesome lists

awesomeocamlprogramming-languageresources

Awesome OCaml / Community

Official OCaml Website
OCaml Discourse Web Forum
OCaml Discord Chat
Official OCaml Mailing List
OCaml Planet
OCaml SubReddit

Awesome OCaml / Algorithms and Data Structures

Comparing a Machine Learning Algorithm Implemented in F# and OCaml
OCamlgraph234almost 2 years ago– A generic graph library for OCaml
ods48almost 4 years ago– A large collection of data structures and algorithms for OCaml
combine35about 2 years ago– OCaml library for combinatorics
Decompress115over 2 years agoA pure OCaml implementation of Zlib
Ke51over 2 years agoFast implementation of queue (FIFO) in OCaml
Duff20almost 2 years agoImplementation of Rabin's fingerprint and delta compression by P. MacDonald in OCaml (same as
ORaft28about 3 years agoLibrary of implemented in OCaml
ODiff2,077almost 2 years ago– Library of implemented in OCaml and ReasonML

Awesome OCaml / Application Libraries

Batteries Included521almost 2 years ago– A community-maintained foundation library for your OCaml projects
Cmdliner295over 2 years ago– Declarative definition of command line interfaces for OCaml
Core1,126almost 2 years ago– Jane Street Capital's full-fledged standard library overlay. A portable subset of Core is also available:
Base877almost 2 years agoJane Street Capital's dependency-free, quick-compiling, fully-portable across any environment that can run OCaml code standard library
React– React is an OCaml module for functional reactive programming (FRP). It provides support for programs with time-varying values, declarative events, and signals
Minicli30almost 6 years ago– Minimalist library for command-line parsing
easy-format43over 4 years ago– Pretty-printing library for OCaml
ocaml-rpc96almost 2 years ago– Light library to deal with RPCs in OCaml
ocaml-containers494almost 2 years ago– A lightweight, modular standard library extension, string library, and interfaces to various libraries (bigarrays, Unix, etc.) BSD license

Awesome OCaml / Benchmarking

core_bench50almost 2 years ago– Micro-benchmarking library for OCaml by Jane Street.   -
benchmark27almost 2 years ago– Benchmarking functions for measuring the run-time of functions using latency or throughput

Awesome OCaml / Blogs

Gagallium
Type OCaml – Many things about OCaml
OCaml Platform
Drup's Thingies
Thomas Letan’s articles about OCaml

Awesome OCaml / Books

More OCaml: Algorithms, Methods, and Diversions– In More OCaml, John Whitington takes a meandering tour of functional programming with OCaml, introducing various language features and describing some classic algorithms. The book ends with a large-scale example dealing with the production of PDF files. There are questions for each chapter, along with worked-out answers and hints
How to Think Like a (Functional) Programmerby Allen Downey and Nicholas Monje – How to Think Like a Computer Scientist is an introductory programming textbook based on the OCaml language. It is a modified version of Think Python by Allen Downey. It is intended for newcomers to programming and also those who know some programming but want to learn programming in the function-oriented paradigm, or those who simply want to learn OCaml
OCaml from the Very Beginningby J. Whitington - OCaml from the Very Beginning will appeal both to new programmers and experienced programmers eager to explore functional languages such as OCaml
Pearls of Functional Algorithm Designby Richard Bird - It summarizes 30 hard algorithmic problems in the function programming world. Although it is for Haskell, the algorithm problems are very interesting, and trying to solve them in OCaml also helps the thinking of functional programming. Partial solutions in OCaml are
Real World OCamlby Y. Minsky, A. Madhavapeddy, and J. Hickey - Functional Programming for the masses
Unix System Programming in OCamlby X. Leroy and D. Rémy – Introduction to Unix Systems Programming, with an emphasis on communications between processes
Using, Understanding, and Unraveling OCaml– This book describes both the OCaml language and the theoretical grounds behind its powerful type system
Purely Functional Data StructuresThis is the first or only book focus on various data structures in FP world. A must-read one
OCaml for Scientistsby Jon Harrop
OCaml Programming: Correct + Efficient + BeautifulTextbook on Functional Programming and Data Structures in OCaml - by Michael R. Clarkson et al

Awesome OCaml / Code Analysis and Linters

MascotMascot is a style-checker for OCaml sources
pfff185almost 4 years ago– pfff is a set of tools and APIs to perform some static analysis, dynamic analysis, code visualizations, code navigations, or style-preserving source-to-source transformations such as refactorings on source code
Infer15,024almost 2 years agoInfer is a static analyzer for Java, C and Objective-C
Frama-CFrama-C is a static analysis and formal proof framework for C and C++
flow22,105almost 2 years agoflow is a static type checker for JavaScript
SLAyer326about 10 years agoSLAyer is an automatic formal verification tool that uses separation logic to verify memory safety of C programs
MemCAD25almost 5 years agoMemCAD is an abstract interpreter for shape analysis. MemCAD can verify C programs manipulating complex data structures
Camelot45about 3 years agoCamelot is a modular and fully configurable OCaml linter and stylechecker
coq-of-ocaml255about 2 years agoTranslator from OCaml to Coq to formally verify OCaml code
MOPSAMOPSA is a generic framework for building sound static analyzers based on the theory of abstract interpretation

Awesome OCaml / Program analysis

BAP2,079about 2 years agoBAP is a reverse engineering and program analysis platform that targets binary programs
BinCat1,706almost 2 years agoBinCat is a binary code static analysis toolkit
cwe_checker1,155almost 2 years agocwe_checker finds vulnerable patterns in binary executables
Owi139almost 2 years agoOwi is a toolchain for working with WebAssembly (Wasm) in OCaml, featuring a powerful, parallel symbolic execution engine for Wasm. It also provides frontends for compiling and analyzing C and Rust programs
Smt.ml28almost 2 years agoSmt.ml is a frontend OCaml library that interfaces with multiple SMT solvers, enabling seamless integration of solvers like Z3, cvc5, Colibri2, Bitwuzla, and Alt-Ergo within OCaml programs

Awesome OCaml / Compilers and Compiler Tools

Opal146about 3 years ago– Self-contained monadic parser combinators for OCaml
Sedlex244almost 2 years agois a modern, encoding-agnostic (read: Unicode-supporting) lexer generator (the ppx-based successor to .)
Menhir– Menhir is a LR(1) parser generator for OCaml

Awesome OCaml / Compilers and Compiler Tools / Menhir

ocaml-parsing125over 2 years agoSee for a clearer example of using Menhir and Sedlex to produce a useful parser,
Obelisk55about 2 years ago... and , a neat project to produce readable LaTeX, HTML, or plain-text EBNF-style documentation for your grammar

Awesome OCaml / Compilers and Compiler Tools

ocamllex/ocamlyacc– lex and yacc implementation for OCaml
Angstrom656about 2 years agoParser combinators built for speed and memory efficiency
Kaleidoscope: Implementing a Language with LLVM in Objective Caml¶

Awesome OCaml / Concurrency / :

Lwt— A cooperative threads library for OCaml
Async— A monadic concurrence library to go with the Core library
The blog post that introduced Async
A user gives up on Async
Cooperative Concurrency in OCaml: A Core.Std.Async Example

Awesome OCaml / Databases

Dbm— A binding to the NDBM/GDBM Unix "databases"
Mongo.ml– An OCaml driver for Mongodb
PG'OCaml— A type-safe interface to PostgreSQL in pure OCaml

Awesome OCaml / Databases / PG'OCaml

ppx_pgsql52about 6 years ago– A syntax extension for embedded SQL queries using PG'OCaml

Awesome OCaml / Databases

PostgreSQL-OCaml— An interface to PostgreSQL through the C API ( )
SQLite3116almost 2 years ago— OCaml bindings to the SQLite3 database
Sqlite3EZ— Thin wrapper for SQLite3 with a simplified interface
ocaml-redis75almost 3 years ago– Redis bindings for OCaml
mysql– Bindings to libmysqlclient for interacting with MySQL databases
pgx122almost 4 years ago– A pure OCaml PostgreSQL client library
mysql_protocol14over 4 years ago– Implementation of MySQL Protocol with the Bitstring library
Irmin1,860almost 2 years ago— A distributed database that follows the same design principles as Git
Obigstore— A database with BigTable-like data model atop LevelDB
RunOrg12over 11 years agoIt is a WIP database server written in OCaml
dokeysto10over 3 years agodumb OCaml key-value store, string keys and string values. Optional on-the-fly LZ4 compression of values or tokyocabinet backend
Sequoia124over 3 years agoSequoia is a type-safe query builder for MySQL/MariaDB and PostgreSQL
Macaque38almost 7 years ago— Macaque is a library for safe and flexible database queries using comprehensions on top of PG'OCaml
ORM60almost 8 years ago— ORM for SQLite
Caqti313almost 2 years agoCooperative-threaded access to relational data
Caqti setence preparation, ppx_rapper138over 2 years ago

Awesome OCaml / Databases / :

Implementing the Binary Memcached Protocol with Ocaml and Bitstring
Interfacing OCaml and PostgreSQL with Caqti
Finally, Type-Safe, Extensible and Efficient Language Integrated Queryby Oleg and Co. The proposed approach is to describe SQL queries in type-safe manner and optimize them (using term rewriting or normalization-by evaluation) before sending to database engine. It potentially could optimize O(n^2) queries to O(n) ones

Awesome OCaml / Datetime

ISO860129over 2 years ago
calendar
odate23over 2 years ago
ptime

Awesome OCaml / Developer Tools

ctypes372about 2 years ago– Library for binding to C libraries using pure OCaml
ocaml-main-program-in-c16almost 9 years ago– Example build system for making mixed C/Ocaml binaries where the main program is in C
Modular foreign function bindings
Py.ml187over 2 years agoOCaml bindings for Python
ocaml-lsp782almost 2 years agoAn LSP language server for OCaml that integrates with any editor that understands LSP like , Vim and Emacs
merlin1,593almost 2 years ago– Context sensitive completion for OCaml in Vim and Emacs
tuareg364about 2 years agoOCaml mode for Emacs that can run the toplevel and the debugger within Emacs
opam-switch-mode5about 3 years agoMinor mode for Emacs that extends Tuareg and Merlin with menus to change or reset the opam switch in the ambient Emacs session
merlin-eldoc44over 3 years ago– Emacs package to provide merlin's features through eldoc
vscode-ocaml170almost 6 years ago– extension that provides OCaml language support for
OCaml Debugger208almost 2 years ago– extension that provides OCaml Debugger for
Sublime better ocaml23over 8 years ago– Better OCaml mode for Sublime Text

Awesome OCaml / Developer Tools / Sublime better ocaml

Sublime text package12about 9 years ago

Awesome OCaml / Developer Tools

ocp-index– Easy access to the interface information of installed OCaml libraries. Provides standalone tools like and

Awesome OCaml / Developer Tools / ocp-index

ocp-browser– Small ncurses-based API and documentation browser
ocp-index-top20about 9 years ago– Toplevel directive for looking up documentation using ocp-index
Sublime text package

Awesome OCaml / Developer Tools

ocp-indent– Indentation tool for OCaml, to be used from editors like Emacs and Vim

Awesome OCaml / Developer Tools / ocp-indent

Vim plugin29over 8 years ago

Awesome OCaml / Developer Tools

Bisect_ppx301almost 2 years ago

Awesome OCaml / Exercises and Short Examples

99 problems. 99% of the solutions are
learn-ocaml-corpus. Corpus of beginner-to-advanced online exercises (including those from the OCaml MOOC) with automatic grading tests
Rosetta Code
OCaml at Exercism– Exercism is your place to engage in thoughtful conversations about code. Explore simplicity, idiomatic language features, and expressive, readable code.
Programming Language Examples Alike CookbookThe OCaml section of the book is a free reference for solving common programming problems using OCaml

Awesome OCaml / Formal Software Verification

Coq– Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms, and theorems, together with an environment for semi-interactive development of machine-checked proofs
Why3– Why3 is a platform for deductive program verification. It provides a rich language for specification and programming, called WhyML, and relies on external theorem provers, both automated and interactive, to discharge verification conditions
Alt-Ergo– Alt-Ergo is an open-source SMT solver dedicated to the proof of mathematical formulas generated in the context of program verification

Awesome OCaml / General

Functional Programming with OCaml
Python to OCaml: retrospective
OCaml for the Masses
Why We Use OCaml
Xen – OCaml Coding Considerations
Monads are a class of hard drugs
Beginner's guide to OCaml
Why OCaml, why now?
A blog about game development in OCaml
(Functional) Alternatives to inheritance
camlPDF202almost 2 years ago– OCaml library for reading, writing and modifying PDF files
slacko81over 2 years ago– A neat interface for Slack in OCaml
Learn X in Y minutesWhere X=OCaml

Awesome OCaml / Graphics

archimedes— 2D plotting library
cairo255almost 2 years ago— Binding to Cairo, a 2D Vector Graphics Library. Integrates well with lablgtk
Vg91over 2 years ago– Declarative 2D vector graphics for OCaml
glMLite19about 4 years ago— OpenGL bindings for OCaml. Provides an (experimental) functional API. ( )
lablgl— Interface to OpenGL. Integrates well with lablgtk
tgls— Thin bindings OpenGL 3.{2,3},4.{0,1,2,3,4} and OpenGL ES {2,3}

Awesome OCaml / Internationalization

Camomile124over 2 years ago— A Unicode library for OCaml
ocaml-m17n50over 7 years ago— Multilingualization for OCaml source code. Allows using Unicode identifiers in OCaml source code
Uucd17almost 2 years ago— Unicode character database decoder for OCaml
Uucp21almost 2 years ago— Unicode character properties for OCaml
Uunf21almost 2 years ago— Unicode text normalization for OCaml
Uuseg23almost 2 years ago— Unicode text segmentation for OCaml
Uutf32almost 3 years ago— Non-blocking streaming Unicode codec for OCaml

Awesome OCaml / User Interface

lablgtk— GTK2 and GTK3 bindings for OCaml with various higher-level facilities to define GUIs
lablqml159over 2 years ago– QML Qt5 bindings for OCaml
labltk— Interface to the Tcl/Tk GUI framework. In the standard distribution for ocaml <= 4.01
TSDL– Tsdl is an OCaml module providing thin bindings to the cross-platform SDL library
Lambda-Term210about 2 years ago– Lambda-Term is a cross-platform library for manipulating the terminal. It provides an abstraction for keys, mouse events, and colors, as well as a set of widgets to write curses-like applications
Notty352over 2 years agoNotty is a declarative terminal library for OCaml, structured around the notion of composable images
ocaml-linenoise51about 2 years agoSelf-contained OCaml bindings to linenoise; easy high-level readline functionality in OCaml
Higher-Rank Polymorphism in OCaml
mikmatch22almost 3 years ago– OCaml pattern-matching extended with regexps
Inlined records in constructors
Algebraic Data Types
XEN – OCaml Best Practices for Developers
OCaml Style Guide (by Jane Street)See also: , ,
A safe but strange way of modifying OCaml compiler
Fiddling with the OCaml Type System

Awesome OCaml / Large Source Code Examples

Base877almost 2 years agoStandard library for OCaml
cil364about 3 years agoC Intermediate Language
coq4,883almost 2 years agoformal proof management system
frama-cplatform dedicated to the analysis of source code written in C
libguestfs638almost 2 years agolibrary and tools for accessing and modifying virtual machine disk images
Liquidsoap1,453almost 2 years agoa swiss-army knife for multimedia streaming, notably used for netradios and webtvs
mirage2,580almost 2 years agolibrary operating system that constructs unikernels for secure, high-performance network applications across a variety of cloud computing and mobile platforms
MLDonkey260almost 2 years agocross-platform multi-network peer-to-peer daemon
Oni27,844about 4 years agoNative, lightweight modal code editor
pfff185almost 4 years agoan OCaml API to write static analysis, dynamic analysis, code visualizations, code navigations, or style-preserving source-to-source transformations such as refactorings on source code
Tezosa self-upgradable Proof of Stake blockchain
WHY3platform for deductive program verification
xen-api347almost 2 years agomanagement stack that configures and controls Xen-enabled hosts and resource pools, and co-ordinates resources within the pool

Awesome OCaml / Logging

dolog37about 3 years ago– A dumb OCaml logger
Volt8about 3 years ago– A variant of the Bolt OCaml logging tool
LogsLogs provides a logging infrastructure for OCaml

Awesome OCaml / Machine Learning

Ocaml-sklearn34almost 6 years agoscikit-learn for OCaml
OwlScientific library with neural networks, algorithmic differentiation and ONNX support
Object detection convolutional neural network with OCaml (based on Owl)17over 6 years ago
PyTorch bindings416almost 2 years agoOCaml bindings for PyTorch

Awesome OCaml / Machine Learning / PyTorch bindings

Ocaml-NN5over 2 years agoFully functional monadic implementation of a Neural Network (FCNNs) in OCaml

Awesome OCaml / Machine Learning

Deep Learning with OCaml (PyTorch bindings)
Transfer Learning with OCaml (PyTorch bindings)
Reinforcement Learning with OCaml (PyTorch bindings)

Awesome OCaml / Messaging

ocaml-zmq80over 2 years ago– ZeroMQ bindings for OCaml with Async and Lwt wrappers
onanomsg38almost 6 years ago– nanomsg bindings for OCaml
Kafka63about 2 years ago– OCaml bindings for Apache Kafka
AMQP62over 2 years ago– AMQP client library for Async and Lwt
MPI24over 2 years ago– Message Passing Interface bindings for OCaml
MQTT19almost 6 years ago– OCaml implementation of the MQTT pubsub protocol
capnp-ocaml98about 3 years ago– OCaml code generator plugin for the Cap'n Proto serialization framework

Awesome OCaml / Metaprogramming / :

A Guide to Extension Points in OCaml
Extension Points, or how OCaml is becoming more like Lisp
Syntax extensions without Camlp4: let's do it!
Reading Camlp4 – Ambassador to the Computers
ppx_import89almost 2 years ago– Import is a syntax extension that allows to pull in types or signatures from other compiled interface files
ppx_string_interpolate21over 6 years ago– A simple ppx filter to support string interpolation like
ppx_monad7over 9 years ago– Monad syntax extension for OCaml
ppx_deriving_yojson157about 2 years ago– A Yojson codec generator for OCaml
MetaOCaml– an OCaml dialect for multi-stage programming
Fan– Fan is a compile-time metaprogramming system for OCaml, originally inspired from Camlp4. It's a combination of OCaml and Lispy Macros. It shares the same concrete syntax with OCaml
camlp5Camlp5 is a preprocessor-pretty-printer of OCaml
camlp4Camlp4 is part of the standard OCaml distribution and is different from Camlp5

Awesome OCaml / Metrics

prometheus51over 2 years ago– OCaml client library for Prometheus monitoring

Awesome OCaml / Mobile Applications / :

OCaml on iOS 7 Released
OCaml + Cordova = more secured, typed and hybrid mobile applications
Cordova plugins26almost 10 years ago– List of bindings to Cordova plugins. Get access to native device components like accelerometer, SMS, geolocation, etc in OCaml

Awesome OCaml / Networking / :

ocaml-cohttp715almost 2 years ago– Very lightweight HTTP server using Lwt or Async
ocurl59almost 2 years ago– OCaml bindings to libcurl
httpaf537over 2 years ago– A high performance, memory efficient, and scalable web server written in OCaml
piaf194about 2 years agoClient/server library for HTTP/1.X / HTTP/2 written entirely in OCaml

Awesome OCaml / Networking

ocaml-dns105almost 2 years ago– A pure OCaml implementation of the DNS protocol
fluent-logger7about 12 years ago– Fluentd logger for OCaml
charrua-unix11over 9 years agocharrua-unix is a Unix DHCP daemon based on

Awesome OCaml / Online Courses

OCaml MOOC: Introduction to Functional Programming in OCamlVideos available in of the YouTube channel
Cornell University – Data Structures and Functional Programming
Princeton University - Functional programming in OCaml
University of IllinoisCourse that uses OCaml to teach functional programming and programming language design

Awesome OCaml / Package Management

OPAM– A flexible Git-friendly package manager with multiple compiler support
ocamlfind— Local OCaml library manager. Used by most of the OCaml ecosystem
OCaml for Windowsopam repository and experimental build for Windows (deprecated since 2021)
Diskuv OCaml62about 2 years agoDiskuv OCaml distribution for Windows
makorel8almost 12 years ago– Release OPAM packages easily
esy845almost 2 years agopackage.json workflow for native development with Reason/OCaml
dune1,645almost 2 years ago– A composable and opinionated build system for OCaml (former jbuilder)
OasisA tool to integrate a configure, build and install system in your OCaml project. It helps to create standard entry points in your build system and allows external tools to analyse your project easily

Awesome OCaml / Package Management / Oasis

oasis2opam27almost 9 years ago— Tool to convert OASIS metadata to OPAM package descriptions

Awesome OCaml / Package Management

obuild55almost 3 years ago– Simple package build system for ocaml
ocaml-makefile74almost 2 years ago— Easy to use Makefile for small to medium-sized OCaml-projects
topkg68almost 3 years ago— OPAM-aware packaging system using ocamlbuild
Bazel37over 5 years agoOCaml rules for , Google's multi-language and platform build tool

Awesome OCaml / Parallelism

Parmap— Provides easy-to-use parallel map and fold functions
ForkWork19about 7 years ago— A simple library for forking child processes to perform work on multiple cores
Functory— A distributed computing library which facilitates distributed execution of parallelizable computations in a seamless fashion
Rpc.Parallel47almost 2 years ago— A library for spawning processes on a cluster of machines, and passing typed messages between them
Ocamlnet— An enhanced system platform library. Contains the library to compute tasks on as many cores of the machine as needed
Nproc29about 13 years ago– Process pool implementation for OCaml
Parany52almost 3 years ago– Parallelize computation over independent items, even if there is an infinite number of them
Sklml– Functional parallel skeleton compiler and programming system for OCaml programs
SPOC138almost 3 years agoLibraries and syntax extensions to offload intensive computations to parallel accelerators (multicore CPUs, GPUs and other accelerators compatible with GPGPU frameworks)
What is the state of OCaml's parallelization abilities?
Parallel programming in multicore OCaml285over 2 years ago
Parallelism programmingfrom the officiel OCaml manual
Awesome multicore OCaml149about 3 years ago. A compilation of resources

Awesome OCaml / Printers helpers

Console.log460over 2 years agoReason's native
Dum29over 4 years ago
Inspect33about 10 years ago
ppx_deriving469almost 2 years ago’s
refl51almost 4 years ago, a ppx_deriving-like
lrt32almost 6 years ago, another ppx_deriving-like
tpf23over 6 years ago, again a ppx_deriving-like
typerep23almost 2 years ago, probably a ppx_deriving-like with ppx_typerep_conv
repr, which appears to have the user build the type representation manually from combinators in addition to also having the user pass it where needed
data-encoding, also fully manual
cmon24over 4 years ago, fully manual
dyn1,645almost 2 years agoin Dune. It appears to also be fully manual
Genprint29about 6 years ago
OCaml@p11over 9 years ago

Awesome OCaml / Project Starter Templates

drom184about 2 years agoThe drom tool is a wrapper over opam/dune in an attempt to provide a cargo-like user experience
spin295almost 2 years agoReason and Ocaml project generator
modern-ocaml77almost 2 years agoTemplate for an ocaml project with modern tooling

Awesome OCaml / Questions

OCaml polymorphism example other than template function?
OCaml - polymorphic print and type losing

Science and Technical Computing

biocaml123over 3 years ago– OCaml Bioinformatics Library
bistro48over 2 years ago– OCaml library for building bioinformatics pipelines
lacamlOCaml bindings for BLAS/LAPACK (high-performance linear algebra Fortran libraries)
obanditOCaml library for multi-armed bandits
onumerical8over 12 years ago– Numerical library for OCaml
oml119over 8 years agoOCaml library for general numerical work
ocephes12over 10 years agoBindings to frequently used special functions library
slap88about 6 years agoA linear algebra library in OCaml with type-based static size checking for matrix operations
tensorflow-ocaml283about 7 years ago– OCaml bindings for TensorFlow
owl1,225almost 2 years agoOCaml numerical library: dense and sparse matrix, linear algebra, regressions, maths and stats functions
WHIZARDA system designed for the efficient calculation of multi-particle scattering cross sections and simulated event samples

Science and Technical Computing / Regular Expressions

Re234almost 2 years ago– a pure OCaml regular expressions library with combinators, supporting several formats (glob, posix, str, etc.)
ocaml-pcre31almost 2 years ago– bindings to the PCRE library (perl-compatible regular expressions)
Humane-re25about 7 years ago– Humane-re attempts to provide an easy interface for 90% of your regex needs. Courtesy of ocaml-re
Tyre171over 6 years agoTyre is a set of combinators to build type-safe regular expressions, allowing automatic extraction and modification of matched groups

Science and Technical Computing / Security and Cryptography

ocaml-tls305almost 2 years ago– TLS in pure OCaml
Digestif87over 2 years agoHash algorithms (like SHA* or BLAKE2*) in OCaml and C
cryptokit97almost 2 years ago– The Cryptokit library for OCaml provides a variety of cryptographic primitives that can be used to implement cryptographic protocols in security-sensitive applications
nocoiner11over 3 years agoA Commitment scheme library for Multi-party computations such as online auctions and gambling
nocrypto111over 6 years ago– A small cryptographic library behind the ocaml-tls project. It is built to be straightforward to use, adhere to functional programming principles, and able to run in a Xen-based unikernel

Science and Technical Computing / Semantic Technology

OCaml-RDF– OCaml library to manipulate RDF graphs and execute Sparql queries

Science and Technical Computing / Serialization

atdgen317about 2 years ago— A serialization compiler for multiple languages (OCaml, Java, Python, Scala, Typescript) with a Binou or JSON format
bencode24over 2 years ago— Bencode (.torrent file format) reader/writer
biniou42over 4 years ago– Extensible binary data format, like JSON but faster
cbor24over 4 years ago— OCaml native decoder/encoder
jsonm— Non-blocking streaming JSON codec for OCaml
xmlm— A streaming codec to decode and encode the XML data format
yojson328about 2 years ago— An optimized parsing and printing library for the JSON format
sexplib148almost 2 years ago– A S-expression parser and printer

Science and Technical Computing / System Programming

OMicroB142almost 2 years agoA virtual machine designed to run OCaml bytecode on AVR (Arduino for instance) micro-controlers
OCaPICAn OCaml virtual machine for PIC18 micro-controlers
ocaml-esp3218almost 6 years agoA compiler for ESP32 SoC

Science and Technical Computing / Testing

Alcotest458almost 2 years ago– A lightweight and colourful test framework
OUnit– OUnit is a unit test framework for OCaml. It allows one to easily create unit-tests for OCaml code. It is based on HUnit, a unit testing framework for Haskell
QCheck354almost 2 years ago— QCheck is a property testing library inspired from Haskell's QuickCheck
iTeML67over 5 years ago(formerly known as ) — supports inline pragma's to generate tests
Kaputt— comprehensive testing framework
Pa_test— General inline testing macro's
TestSimple13over 11 years agoA lightweight unit testing framework compatible with the
expect-test146almost 2 years ago— A framework for writing tests in OCaml, similar to , developed by

Science and Technical Computing / Utilities

ocaml-cuid18over 4 years agoCollision-resistant IDs for server scalability & database performance
Validate16over 2 years agoPPX deriver designed to streamline the process of validating records
UuidmUuidm is an OCaml module implementing 128-bit universally unique identifiers version 3, 5 (name based with MD5, SHA-1 hashing) and 4 (random based) according to RFC 4122
sqids-ocaml9over 2 years agoOfficial OCaml port of Sqids. Generate short unique IDs from numbers

Science and Technical Computing / Web Development

Opium765over 2 years ago– Sinatra like web toolkit for OCaml
Ocsigen Eliom– Eliom is a full-featured multi-tier framework, for developing multi-platform Web and mobile apps as 100% OCaml distributed applications. It can also be used for more traditional Web or mobile apps: Web sites, single page applications, REST API, etc
DreamTidy Web framework for OCaml and ReasonML
webmachine221almost 5 years ago– A REST toolkit for OCaml. OCaml webmachine is a layer on top of cohttp that implements a state-machine-based HTTP request processor. It's particularly well-suited for writing RESTful APIs. As the name suggests, this is an OCaml port of the webmachine project
incr_dom383almost 2 years agoA library for building dynamic webapps, using Js_of_ocaml
fmlib_browsera library which helps to write web applications which run in the browser in a pure functional style
ocaml-vdom197about 2 years agoElm architecture and (V)DOM for OCaml
COW107almost 3 years ago– Caml on the Web (COW) is a set of parsers and syntax extensions to let you manipulate HTML, CSS, XML, JSON and Markdown directly from OCaml code
Ocamlnethas many relevant web libraries — html parser, for ASN.1 parsing, for Base64, Quoted Printable, URL encoding and HTML escaping, for MIME processing, etc. See the in Ocamlnet's manual
tyxml— Library to build valid (according to the W3C spec) Html and Svg trees
js_of_ocaml– Js_of_ocaml is a compiler of OCaml bytecode to Javascript. It makes it possible to run Ocaml programs in a Web browser

Science and Technical Computing / Web Development / js_of_ocaml

commonjs_of_ocaml13over 10 years agoEasily import and export CommonJS modules from a js_of_ocaml project

Science and Technical Computing / Web Development

ReScriptReScript is a robustly typed language that compiles to efficient and human-readable JavaScript
ocaml-uri98about 2 years ago– RFC3986 URI parsing library
Goji44about 12 years ago– An OCaml bindings generator for JavaScript libraries
Syndic34almost 3 years ago– RSS and Atom feed parsing
ocaml-mustache82over 2 years ago– mustache.js logic-less templates in OCaml
atdjs9almost 13 years ago– atd code generator (serialization) for OCaml/js_of_ocaml
jingoo126over 2 years ago– OCaml template engine almost compatible with jinja2
dispatch45almost 4 years ago– Path-based dispatching for client- and server-side applications
Lambda Soup384almost 2 years agoFunctional HTML scraping and manipulation with CSS selectors, à la Python's Beautiful Soup
Markup.ml146almost 2 years agoError-recovering streaming HTML5 and XML parsers, serializers
gen_js_api175almost 2 years agogen_js_api aims at simplifying the creation of OCaml bindings for Javascript libraries
routes143about 2 years agoTyped routes for OCaml/ReasonML web applications
Cumulus49over 11 years ago– Hacker news like website with the OCaml framework Ocsigen

Backlinks from these awesome lists:

More related projects: