▲ | Compositional Datalog on SQL: Relational Algebra of the Environment(philipzucker.com) | |||||||
47 points by philzook 6 days ago | 3 comments | ||||||||
▲ | kragen 3 days ago | parent | next [-] | |||||||
Pretty exciting stuff! I'd also be curious how well CTEs work; Postgres seems to have Turing-complete recursive CTEs, while SQLite and ANSI have some peculiar restrictions presumably to guarantee termination. They might even be the same restrictions, I don't know. Unfortunate you can't add new operators in Python the way you can in Prolog or OCaml to get a readable infix syntax like the one you chose but without the misleading operators like <= for :-. (I've done worse, though...) | ||||||||
| ||||||||
▲ | NeutralForest 3 days ago | parent | prev [-] | |||||||
Oh no, yet another article that looks super interesting and will be in a browser tab until I decide to read it and that requires quite a lot of background info I don't know how to get yet. Oh well. |