swifties
queryparser
swifties | queryparser | |
---|---|---|
5 | 2 | |
11 | 1,066 | |
- | 0.0% | |
0.0 | 0.0 | |
over 2 years ago | about 2 years ago | |
Swift | Haskell | |
- | 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...
queryparser
-
Open Source SQL Parsers
queryparser implements Apache Hive, Presto/Trino and Vertica dialects.
-
Let's write a compiler, part 5: A code generator
3. Would you use a different language/library then I picked?
Thanks :)
[1] https://github.com/uber/queryparser
What are some alternatives?
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
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
ANTLR - ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
rhizome - A JIT for Ruby, implemented in pure Ruby
pglast - PostgreSQL Languages AST and statements prettifier: master branch covers PG10, v2 branch covers PG12, v3 covers PG13, v4 covers PG14, v5 covers PG15, v6 covers PG16
zetasql - ZetaSQL - Analyzer Framework for SQL
sqlparse - A non-validating SQL parser module for Python
vitess-sqlparser - simply SQL Parser for Go ( powered by vitess and TiDB )
go-mysql-server - A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.