What is syntaqlite?
mainsyntaqlite is a parser, formatter, validator, and language server for SQLite SQL. It is built using SQLite's own grammar and tokenizer to ensure high fidelity.
Key capabilities include:
- Validation: Ensures SQL is valid according to specific SQLite versions and compile-time flags.
- Formatting: Provides SQL formatting services.
- Version Awareness: Can reject syntax that a specific target SQLite version does not support.
- Flag Awareness: Can enable or disable optional syntax based on compile-time flags.
- Cross-language Validation: (Experimental) Ability to validate SQL embedded within other programming languages.
Note: The project is currently in version 0.x. APIs and CLI flags are subject to change before the 1.0 release.