Logica – declarative logic programming language for data

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
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
  1. logica

    Logica is a logic programming language that compiles to SQL. It runs on DuckDB, Google BigQuery, PostgreSQL and SQLite.

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

    Here is a proof that you can translate non-recursive datalog into relational algebra and vice versa: https://github.com/google/mangle/blob/main/docs/spec_explain...

    Since Logica is translated to SQL it should benefit from all the query optimistic goodness that went into the SQL engine that runs the resulting queries.

    I personally see the disadvantages of SQL in that it is not really modular, you cannot have libraries, tests and such.

    Disclosure: I wrote Mangle (the link goes to the Mangle repo), another datalog, different way of extending, no SQL translation but an engine library.

  4. malloy

    Malloy is an experimental language for describing data relationships and transformations.

    There's also Malloy[0] from Google that compiles into SQL

    > Malloy is an experimental language for describing data relationships and transformations.

    [0]: https://github.com/malloydata/malloy

  5. prql

    PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

    Have a look at PRQL [1] for analytical queries. That's exactly what it's designed for. Disclaimer: I'm a contributor.

    That said. I like Logica and Datalog. For me the main use case is "recursive" queries as they are simpler to express that way. PRQL has made some progress there with the loop operator but it could still be better. If you have any ideas for improvement, please reach out!

    1: https://prql-lang.org/

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

  • FireDucks: Pandas but 100x Faster

    4 projects | news.ycombinator.com | 20 Nov 2024
  • dbhub.io alternatives - csvbase and sgr

    3 projects | 21 Aug 2024
  • Game Programming in Prolog

    5 projects | news.ycombinator.com | 10 Oct 2024
  • DuckDB 1.1.0 Released

    4 projects | news.ycombinator.com | 9 Sep 2024
  • Malloy: A language for describing data relationships and transformations

    1 project | news.ycombinator.com | 17 Mar 2024

Did you know that Jupyter Notebook is
the 13th most popular programming language
based on number of references?