Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

repl command

The repl command starts the Read-Eval-Print-Loop (REPL), an interactive programming environment for Ralix.

Usage

ralix repl

Options

  • --tui: Use the experimental terminal user interface instead.

Description

The repl command allows you to enter and execute Ralix code interactively. The result of each expression is printed to the console.

There are two versions of the REPL:

  • The terminal user interface (TUI) for a richer interactive experience, which can be activated with the --tui flag.
  • The default legacy REPL is a simpler, line-by-line interpreter.

Examples

To start the default REPL:

ralix repl

To start the TUI REPL:

ralix repl --tui