Skip to content

Formatting, Debugging & Utility CLI

This content is for v0.2.1. Switch to the latest version for up-to-date documentation.

RayQuiro includes developer tooling directly inside the rqio binary.


Format RayQuiro source files in place with standard indentation and formatting conventions:

Terminal window
rqio fmt main.rq
rqio fmt src/*.rq

The formatter normalizes:

  • 4-space indentation
  • Consistent brace placement {}
  • Operator spacing (a + b, x == y)
  • Comma and semicolon spacing

RayQuiro includes a built-in Debug Adapter Protocol (DAP) server that connects directly with VS Code, Neovim, or any DAP-compatible editor:

Terminal window
rqio debug main.rq --port 4711
  • Breakpoints and conditional breakpoints
  • Step Over, Step Into, Step Out
  • Local and global variable inspection
  • Call stack traces
  • Console evaluate expressions

In VS Code with the official RayQuiro extension, pressing F5 automatically launches this debug server.


Check for and install updates to the RayQuiro toolchain directly from GitHub Releases:

Terminal window
# Check if a newer version is available:
rqio self-update check
# Download and apply the latest release:
rqio self-update

Terminal window
# Print current version:
rqio version
# Print interactive help menu:
rqio help