Tooling

CLI, formatter, linter, tests, REPL, and the Language Server.

Tooling

Sounio ships with a compiler CLI (souc) and companion tools (LSP, docs generator).

souc (Compiler CLI)

Common commands:

# Type-check a file
souc check file.sio

# Run with the interpreter
souc run file.sio

# Build a native binary (backend/feature dependent)
souc build file.sio -o output

# Format
souc fmt file.sio

# Lint
souc lint file.sio

# REPL
souc repl

# Test suite
souc test

Debugging helpers:

souc check file.sio --show-ast
souc check file.sio --show-types
souc check file.sio --show-effects

LSP (sounio-lsp)

The language server is a separate binary, built with the lsp feature:

cargo build -p souc --release --features lsp
./target/release/sounio-lsp --help

See LSP Setup for editor configuration.

Docs Generators

  • souniodoc: stdlib API documentation generator
  • souc doc: package-level docs command (where supported)

Next