lezer-snowsql
sqlschm
lezer-snowsql | sqlschm | |
---|---|---|
1 | 2 | |
19 | 5 | |
- | - | |
0.0 | 2.4 | |
5 months ago | about 1 year ago | |
JavaScript | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lezer-snowsql
sqlschm
-
Writing a Python SQL engine from scratch
> The main reason why I ended up building a SQL engine was...just for entertainment. It's been fun learning about all the things
I also wrote an SQL parser [1] for SQLite schema. This was mainly for fun, but also to support the specificities of SQLite schema. I was not happy with the result of other parsers (including sqlglot).
[1] https://github.com/coast-team/sqlschm
-
Open Source SQL Parsers
SQL is a mess. It is difficult to find a parser that fulfills your needs.
A month ago, I needed a parser to parse SQLite schemas. SQLite has some edge case and I needed a lossless parsing to detect these edge cases.
I finally wrote my own parser [1] to fullfill my needs and to have some fun. This is for a POC project.
[1] https://github.com/coast-team/sqlschm
What are some alternatives?
grammars-v4 - Grammars written for ANTLR v4; expectation that the grammars are free of actions.
duckdb - DuckDB is an in-process SQL OLAP Database Management System
tree-sitter-sql - SQL syntax highlighting for tree-sitter
pgsqlite - Load sqlite databases into Postgres databases
tree-sitter-sql - SQL grammar for tree-sitter
hasql-th - Template Haskell utilities for Hasql
prql - PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement