swifties
sqlite-parser
Our great sponsors
swifties | sqlite-parser | |
---|---|---|
5 | 1 | |
11 | 292 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | almost 5 years ago | |
Swift | PLpgSQL | |
- | 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.
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...
sqlite-parser
What are some alternatives?
langjam
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
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
zetasql - ZetaSQL - Analyzer Framework for SQL
rhizome - A JIT for Ruby, implemented in pure Ruby
queryparser - Parsing and analysis of Vertica, Hive, and Presto SQL.
go-mysql-server - A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
vitess-sqlparser - simply SQL Parser for Go ( powered by vitess and TiDB )
Presto - The official home of the Presto distributed SQL query engine for big data
FLOX - An adaptation of the interpreter from the book 'Crafting Interpreters' by Robert Nystrom written in F#