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

CLI Reference

The xq binary is the unified command-line interface for XQVM. It provides three subcommands:

CommandDescription
xq asmAssemble .xqasm source into binary bytecode.
xq dismDisassemble bytecode into a human-readable listing.
xq runExecute bytecode or assembly with optional tracing.

Installation

Build from source:

cargo build --release

The binary is at target/release/xq.

General Usage

xq <COMMAND> [OPTIONS] [ARGS]
xq --help
xq <COMMAND> --help