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.
1. Code Formatter (rqio fmt)
Section titled “1. Code Formatter (rqio fmt)”Format RayQuiro source files in place with standard indentation and formatting conventions:
rqio fmt main.rqrqio fmt src/*.rqThe formatter normalizes:
- 4-space indentation
- Consistent brace placement
{} - Operator spacing (
a + b,x == y) - Comma and semicolon spacing
2. VS Code Debugger Server (rqio debug)
Section titled “2. VS Code Debugger Server (rqio debug)”RayQuiro includes a built-in Debug Adapter Protocol (DAP) server that connects directly with VS Code, Neovim, or any DAP-compatible editor:
rqio debug main.rq --port 4711Features Supported:
Section titled “Features Supported:”- 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.
3. Self-Update (rqio self-update)
Section titled “3. Self-Update (rqio self-update)”Check for and install updates to the RayQuiro toolchain directly from GitHub Releases:
# Check if a newer version is available:rqio self-update check
# Download and apply the latest release:rqio self-update4. Version & Help
Section titled “4. Version & Help”# Print current version:rqio version
# Print interactive help menu:rqio help