[ANN] Alice v0.2.0, now with LSP

I’m happy to announce the release of Alice v0.2.0. Alice is a radical, experimental OCaml build system, package manager, and toolchain manager for Windows and Unix-based OSes. Its goal is to allow anyone to program in OCaml with as little friction as possible.

The main new addition is support for LSP. Alice now generates some additional files that can be interpreted by OCaml-LSP/Merlin. To use OCaml-LSP in an Alice project, make sure to configure your editor to start the LSP server with the command ocamllsp --fallback-read-dot-merlin and install dot-merlin-reader (either by running alice tools install or from the dot-merlin-reader opam package).

See this page for more info on setting up LSP for Alice projects.

Alice has gotten slightly easier to install. There’s now a package in the WinGet repository so Windows users can install Alice by running:

winget install OCaml.Alice

There’s also a Homebrew tap for Alice, so macOS users can install Alice by running:

brew install alicecaml/homebrew-tap/alice

The Install page has an interactive OS picker that displays install instructions for the current OS by default.

13 Likes

I really this project, I wanted exactly this kind of a project for OCaml. I am grateful that this exists.

One question, is there a way to install opam packages using alice?

Again Thanks for this

1 Like

Not yet but it’s something I plan to investigate.

1 Like