Let's write a compiler, part 5: A code generator

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. queryparser

    Parsing and analysis of Vertica, Hive, and Presto SQL.

    3. Would you use a different language/library then I picked?

    Thanks :)

    [1] https://github.com/uber/queryparser

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. sqlparse

    A non-validating SQL parser module for Python

  4. rhizome

    A JIT for Ruby, implemented in pure Ruby

    Lots of compiler tutorials are like this - there's very little out there to explain how compilers really work.

    This is my effort - trying to show genuine data structures and processes.

    https://github.com/chrisseaton/rhizome

  5. swifties

    a custom language construction kit

    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

  6. grammars-v4

    Grammars written for ANTLR v4; expectation that the grammars are free of actions.

  7. langjam

  8. go-mysql-server

    A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. vitess-sqlparser

    simply SQL Parser for Go ( powered by vitess and TiDB )

  11. gosql

    An early PostgreSQL implementation in Go

  12. 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.

  13. sqlite-parser

    Discontinued JavaScript implentation of SQLite 3 query parser

  14. 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

  15. Presto

    The official home of the Presto distributed SQL query engine for big data

  16. zetasql

    ZetaSQL - Analyzer Framework for SQL

    ZetaSQL[1] seems like it could be a fit for your use case. I've worked with Apache Calcite in the past and found it to be very complex to work with. I found ZetaSQL to be a little easier to use.

    [1] https://github.com/google/zetasql

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Version control for database used by C# app

    3 projects | /r/csharp | 3 May 2023
  • Using Flyway for Database Setup

    2 projects | /r/Kotlin | 28 Apr 2023
  • Managing external database versions in Kubernetes

    8 projects | /r/kubernetes | 25 Dec 2022
  • Release control for database objects?

    5 projects | /r/dataengineering | 27 Jul 2022
  • How do you guys go about the persistence layer?

    2 projects | /r/javahelp | 23 Mar 2022