Guides
Task-oriented guides for specific workflows. Each one solves a concrete problem. Pick the one that matches what you're trying to do.
Project setup
Configure syntaqlite for a real project: schema, formatting, version pinning, editor, and CI.
Using libsyntaqlite from Rust
Formatter options, tokens, schemas built in code, and column lineage with the syntaqlite crate.
Using libsyntaqlite from Python
Formatter options, schemas built from objects, diagnostics, lineage, the typed AST, and tokens with the syntaqlite package.
Using libsyntaqlite from JavaScript
Formatter options, schemas from objects, parse errors, tokens, the language server, and browser use with the syntaqlite npm package.
Using libsyntaqlite from C
Formatter options, schemas, diagnostics, and column lineage in libsyntaqlite's C API.
Installing the C libraries
Download and link libsyntaqlite and libsyntaqlite-parser on Linux, macOS, and Windows.
CI integration
Enforce SQL formatting and validation in your CI pipeline.
Embedded SQL
Validate sqlite3 shell scripts and SQL strings embedded in Python or TypeScript.
MCP server setup
Wire the syntaqlite MCP server into Claude Desktop, Cursor, Windsurf, or any MCP client.
Custom dialects
Define and load a grammar extension for non-standard SQLite syntax.