mangle VS zetasql

Compare mangle vs zetasql and see what are their differences.

zetasql

ZetaSQL - Analyzer Framework for SQL (by google)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
mangle zetasql
9 15
1,027 2,122
0.1% 2.2%
6.9 0.0
15 days ago 24 days ago
Go C++
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

mangle

Posts with mentions or reviews of mangle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-21.
  • Learn Datalog Today
    8 projects | news.ycombinator.com | 21 Jan 2024
    Mangle https://github.com/google/mangle is an open-source implementation in golang, it was an explicit goal to make it easy to learn. Meaning: it is easy to recognize the pure datalog part, the syntax is following the good old course material.

    It was discussed here: https://news.ycombinator.com/item?id=33756800

    8 projects | news.ycombinator.com | 21 Jan 2024
    One of the most interesting Datalog systems I have seen is Mangle:

    https://github.com/google/mangle

    It was previously discussed here:

    https://news.ycombinator.com/item?id=33756800

    The system is quite unique among those systems that call themselves Datalog because it is one of the few that actually supports Datalog syntax, as a proper subset of all features it supports. This means that you can truly write and run Datalog programs which can be read and interpreted also with every Prolog system.

  • Prolog for Data Science
    4 projects | news.ycombinator.com | 7 May 2023
    Logic programming offers a good foundation for anything that people call "rule engines." Within logic programming, there is some variation on the degree of declarativeness.

    Datalog is arguably the minimal core logic programming, similar to what the lambda calculus achieves for functional programming. Unfortunately, it has been forgotten outside of database and query processing realm. A resurgence has happened in recent years, as PL researchers and also industry have discovered the virtues of datalog (e.g. Flix, DataFun). My own attempt at making this more widely known is here https://github.com/google/mangle, a language from the datalog family and its implementation as a go library.

    As the example shows: plain "rules" (or: plain datalog) is rarely enough to capture everything that one wants to express: the question then is, how to combine a pure declarative "kernel" with more general purpose programming (e.g. mapping a list).

    PROLOG offered one answer, already in the 1980s, but I fully reject it: the fact that the writing a program in the wrong order with negation and recursion makes it non-terminating is not something we'd want everyone to deal with. Datalog with stratified recursion is somewhat better, as "layers of rules" is a concept that is easy to understand.

    In mainstream programming languages, the possibility of writing non-terminating programs also exists, but is rarely an issue. That is why I believe a good combination of declarative and general-purpose has to make it really easy to recognize which parts of a program are in the declarative, terminating, safe kernel and which parts require more attention from the programmer.

  • Mangle, a programming language for deductive database programming
    12 projects | news.ycombinator.com | 26 Nov 2022

zetasql

Posts with mentions or reviews of zetasql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-26.

What are some alternatives?

When comparing mangle and zetasql you can also consider the following projects:

sqlparse - A non-validating SQL parser module for Python

Apache Calcite - Apache Calcite

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

ANTLR - ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

pgsql-parser - PostgreSQL Query Parser for Node.js

sqlite-parser - JavaScript implentation of SQLite 3 query parser

sqlglot - Python SQL Parser and Transpiler

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.

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

langjam

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

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