Localized V2 rewrite for this language is in progress. Showing English-first content for now.

Tooling

CLI, formatter, linter, tests, REPL και ο Language Server.

Tooling

Το Sounio έρχεται με compiler CLI (souc) και συνοδευτικά εργαλεία (LSP, docs generator).

souc (Compiler CLI)

Συνηθισμένες εντολές:

# 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:

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

LSP (sounio-lsp)

Ο language server είναι ξεχωριστό binary πίσω από το feature lsp:

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

Δείτε LSP Setup για ρυθμίσεις editor.

Docs Generators

  • souniodoc: stdlib API documentation generator
  • souc doc: package-level docs command (όπου υποστηρίζεται)

Επόμενο