Skip to content
Riot Docs

Search is only available in production builds. Try building and previewing the site to test it out locally.

Install Riot GitHub

REPL

Riot does not expose a full top-level REPL workflow yet, but the page belongs in the toolchain now.

That is intentional.

A serious language toolchain eventually wants an interactive story for:

  • exploration
  • examples
  • debugging
  • trying APIs without scaffolding a whole binary first

Even before the feature exists, the docs should reserve that conceptual space.

At minimum, a good Riot-aware REPL would:

  • understand the workspace context
  • load package code in a predictable way
  • let users experiment without losing the package-oriented mental model

That is different from a generic OCaml shell. The value would be that the REPL understands Riot’s workspace and package story.

Until that exists, treat this page as a marker for product direction rather than a finished workflow.