mangle | flix | |
---|---|---|
9 | 11 | |
1,038 | 2,057 | |
0.9% | 1.0% | |
6.7 | 9.9 | |
16 days ago | 2 days ago | |
Go | Scala | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
-
Learn Datalog Today
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
-
Prolog for Data Science
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.
- Maps and structs in Mangle datalog
- Mangle, a programming language for deductive database programming
- Mangle: Programming language for deductive database programming
flix
-
Learn Datalog Today
you can use Datalig within Flix https://flix.dev/
-
The Flix Programming Language
> recently added support for package management
Are there any [plans for] supply chain attack mitigations?
Naively searching, I find https://github.com/flix/flix/issues/4380#issuecomment-123641... (Proposed Principle: A package can be declared as "safe") and https://github.com/flix/flix/issues/2837 (Add capability-safety to polymorphic effects?) the latter closed with working on something related to this https://github.com/flix/flix/issues/3000 (The Road to Algebraic Effects).
- Java 21 makes me like Java again
-
Alternatives to scala FP
I don't know that it's one-to-one in terms of features, but I've been impressed with the Flix language, also on the jvm: https://flix.dev/ .
- Programming in Standard ML [pdf]
-
Ask HN: What is new in Algorithms / Data Structures these days?
You might be interested in Flix which has first-class Datalog program values:
https://flix.dev/
https://doc.flix.dev/fixpoints.html
(I am one of the developers of Flix)
-
What the imperative shell of an Functional Core/Imperative Shell language looks like
I like it. Modern languages that distinguish between pure and impure programs like Flix, Koka, and Effekt do so on the type level instead of syntactically. This has three advantages:
-
[Q] Alternative languages; which one do you use?
I work almost 100% in Scala because it has the most advanced functional features (proper pattern matching, higher-kinded types, typeclasses, ...) and very powerful metaprogramming abilities, while being compatible with the Java OO model as long as you consume Java libraries (the other way around can be tricky, Kotlin is much better there). Only Flix takes it further but it's still an immature project.
- Seeking Language Project to Join
What are some alternatives?
biscuit-go
ezno - A JavaScript compiler and TypeScript checker written in Rust with a focus on static analysis and runtime performance
pengine - pengines (SWI Prolog) client for Go
lwjgl3ify - A mod to run Minecraft 1.7.10 using LWJGL3 and Java 17, 19, 20
go - Trealla Prolog embedded in Go using WASM
highfleet-ship-opt - A c/c++ module and python extensions for automatic optimization of Highfleet ship modules. Try it live at https://hfopt.jodavaho.io
OPA (Open Policy Agent) - Open Policy Agent (OPA) is an open source, general-purpose policy engine.
lamini
logica - Logica is a logic programming language that compiles to SQL. It runs on Google BigQuery, PostgreSQL and SQLite.
Language-suggestions - Collecting ideas for a new .NET language that could replace C#
dex-lang - Research language for array processing in the Haskell/ML family
egglog - egraphs + datalog!