---
title: "Neocaml 0.9: A Better REPL, Completion, and More Robustness"
url: https://daily.dev/posts/neocaml-0-9-a-better-repl-completion-and-more-robustness-uqdamws86
source_url: https://batsov.com/articles/2026/06/24/neocaml-0-9-repl-completion-and-robustness
type: article
source: "Bozhidar Batsov"
published: 2026-06-24T07:11:58.422Z
updated: 2026-06-24T07:12:21.597Z
tags: ["ocaml"]
reading_time: 7
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Neocaml 0.9: A Better REPL, Completion, and More Robustness

**[Bozhidar Batsov](https://daily.dev/sources/batsov)** · 7 min read · 0 upvotes · 0 comments

## Summary

Neocaml 0.9 is a significant release for the Emacs OCaml mode, bringing several improvements. The REPL integration now supports per-project REPL buffers named after their project, a configurable toplevel flavor (ocaml, utop, dune-utop), a send-and-step command, and restart-on-demand. Completion-at-point backends have been added for Dune and Opam files without requiring an LSP server, covering stanza names, field names, library names, and package names with Opam switch awareness. Robustness fixes address syntax table issues around character literals and quoted strings that were breaking sexp navigation. OCaml 5.5 support is included via tree-sitter-ocaml v0.25.0, but neocaml deliberately pins to ABI 14 grammars to maintain compatibility with Emacs 30 builds linked against tree-sitter 0.24, until Emacs 31 becomes widely available.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://batsov.com/articles/2026/06/24/neocaml-0-9-repl-completion-and-robustness>

## Similar posts on daily.dev

- [neat: a language-agnostic nREPL client for Emacs](https://daily.dev/posts/neat-a-language-agnostic-nrepl-client-for-emacs-30zin9wrb) · Bozhidar Batsov · 0 upvotes · 0 comments
- [Clojurists Together Update: May and June 2026](https://daily.dev/posts/clojurists-together-update-may-and-june-2026-ngmznmylq) · Meta Redux · 0 upvotes · 0 comments
- [OCaml 5.5.0 released](https://daily.dev/posts/ocaml-5-5-0-released-nq6jzdbdm) · Lobsters · 0 upvotes · 0 comments

---

Tags: [#ocaml](https://daily.dev/tags/ocaml)

[View this post on daily.dev](https://daily.dev/posts/neocaml-0-9-a-better-repl-completion-and-more-robustness-uqdamws86)
