From AST to CST: rebuilding the parser of our template language

This post is about a piece of infrastructure that we rebuilt over the last few months: the parser of the template language used inside LexiFi’s products. More precisely, it is about the switch from a classic parser producing an abstract syntax tree (AST) to one producing a concrete syntax tree (CST).

03 Nov 2026

LexiFi

Read Article
LexiFi at the OCaml Workshop 2026

The 2026 edition of the OCaml Workshop is taking place on August 24 in Paris and LexiFi is taking part in it. The 20-minute talk will be a presentation of LexiFi’s system of runtime types, the type reflection machinery of our compiler fork that underpins a large part of our software stack. The slides for the workshop are below. A longer extended report is also available.

23 Aug 2026

LexiFi

Read Article
LexiFi at FUN OCaml 2025

FUN OCaml is an open-source hacking event dedicated to OCaml enthusiasts and professionals alike. The second edition took place this year on September 15 and 16 in Warsaw, Poland, and LexiFi took part in it! Thanks to the impeccable work of the organizers, a wonderful venue, great talks and plenty of goodwill, the event was a unalloyed success.

07 Oct 2025

LexiFi

Read Article
Vdom 0.3 brings Elm-style decoders to OCaml

With the release of Vdom 0.3, OCaml developers now have access to a powerful new feature: Elm-like decoders. They provide an elegant and efficient means to access data fields within tree-like structures, such as JavaScript objects. In this new version of the Vdom library, you can now define custom event handlers, moving away from the previously hard-coded system.

23 Oct 2023

LexiFi

Read Article
OCaml wins the 2023 ACM SIGPLAN Programming Language Software Award

On June 19, 2023, it was announced that the OCaml project received the 2023 ACM SIGPLAN Programming Language Software Award. Notices of the award are available at https://www.sigplan.org/Awards/Software and https://ocaml.org/news/sigplan_announcement. The award is given in recognition of software systems that impact both academia and industry.

21 Jun 2023

LexiFi

Read Article
Dune watch mode support for Windows

Between May and August 2022, Uma Kothuri from the US interned with us at LexiFi and worked on adding native Windows support for Dune’s watch mode (dune build -w). The internship was a big success, but, unfortunately we ran out of time before the contribution could be polished for submission upstream, which delayed its integration in Dune.

02 Mar 2023

LexiFi

Read Article
Migrating to floatarray: experience report

This post is about our use of OCaml inside LexiFi and how we managed a large refactoring of our codebase that we enterprised in order to take advantage of a new feature of OCaml.

30 Mar 2021

LexiFi

Read Article
Sliding-window max (and other associative operators)

Consider a sequence of n nn numbers and imagine you need to compute the maximum of all adjacent sub-sequences of length k kk. How would you do that efficiently?

12 Dec 2019

LexiFi

Read Article
Unboxed floats in OCaml

This post describes how unboxing for float values works in OCaml, focusing on recent evolutions. Most of the content here applies to boxed integer types as well (int32, int64 and nativeint).

14 Apr 2016

LexiFi

Read Article