Installation

Roto is meant to be included into a host application as a crate, to learn how to do that, see Setup. In that case, you don’t need a separate compiler to use Roto. However, there is also a binary of the Roto compiler that you can use to play around with the language.

Installing the compiler

The standalone compiler can be installed using cargo:

Console
cargo install --locked roto

Editor support

Here is a list of known third party extensions for adding Roto highlighting to editors:

A tree-sitter grammar for Roto is available in the tree-sitter-roto repository. If your editor supports tree-sitter you can install it from that repository.

Here is the relevant documentation on adding a new language for a few common editors:

Note

We plan on implementing an LSP for Roto in the future. We will unfortunately not be able to maintain plugins for editors that do not support tree-sitter and LSP.