Show HN: An incremental SQL semantic parser and enforcer
Category: devtools
Tags: sql, parser, incremental-parsing, semantic-analysis, rust, python, wasm
Score: 6.8/10 (Innovation: 7, Technical: 8, Documentation: 7, Utility: 5)
Oraculum is an incremental SQL parser and enforcer that guarantees grammatical and semantic correctness token-by-token, enabling constrained generation or autocompletion where only valid continuations are offered. It implements DFAs/NFA for token-level grammar and tracks latent schema state to ensure semantic validity (e.g., only feasible tables/columns/operators are offered).
Target audience: developers building SQL editors, IDEs, or LLM code-generation tools
Repository: https://pinting.github.io/oraculum/ · Python · AGPL-3.0 · 1 stars
View on Hacker News