vitess-sqlparser
swifties
Our great sponsors
vitess-sqlparser | swifties | |
---|---|---|
1 | 5 | |
386 | 11 | |
0.0% | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
Go | Swift | |
Apache License 2.0 | - |
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.
vitess-sqlparser
swifties
-
Let's write a compiler, part 5: A code generator
Depends on the complexity of your queries, but if you have a narrow subset that you're interested in, implementing a recursive descent parser for just those parts of the syntax that fits your problem like a glove could be a better solution.
https://github.com/codr7/swifties
- Show HN: Swifties – a custom language construction kit in Swift
-
Let's write a compiler, part 3: A parser
What few seem to realize is that it's perfectly possible to abstract out some of the work and create an extensible foundation for manual parsers.
Since it's all regular code, you can use the full power of the host language to deal with the problem.
https://github.com/codr7/swifties/blob/main/Sources/Swifties...
What are some alternatives?
go-mysql-server - A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
sqlite-parser - JavaScript implentation of SQLite 3 query parser
JSqlParser - JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
langjam
Presto - The official home of the Presto distributed SQL query engine for big data
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
postgresql-parser - Pure Golang PostgreSQL (SQL:2011, SQL:2008, SQL:2003, SQL:1999, and SQL-92 Standard) Parser
rhizome - A JIT for Ruby, implemented in pure Ruby
alasql - AlaSQL.js - JavaScript SQL database for browser and Node.js. Handles both traditional relational tables and nested JSON data (NoSQL). Export, store, and import data from localStorage, IndexedDB, or Excel.
zetasql - ZetaSQL - Analyzer Framework for SQL
sqlparse - A non-validating SQL parser module for Python
FLOX - An adaptation of the interpreter from the book 'Crafting Interpreters' by Robert Nystrom written in F#