A few programming language features I'd like to see (2023)

4 azhenley 3 8/10/2025, 11:04:04 PM neilmadden.blog ↗

Comments (3)

Qem · 3h ago
> Datalog/Prolog as a sub-language

> And I’d like to be able to call into this pure declarative logic from an imperative shell that handles all the messy stuff. Is that too much to ask?

There is at least one pure Python implementation of Datalog sitting on PIP, pyDatalog[1][2]. It's not part of the standard library, but it's one PIP install and one import away. So this item is one of the lowest hanging fruit in the wishlist, at least for Python.

[1] https://github.com/pcarbonn/pyDatalog

[2] https://pypi.org/project/pyDatalog

shaftway · 1h ago
Isn't this PEP 750: t-Strings? It's approved, but not released yet AIUI.

https://peps.python.org/pep-0750/

gnabgib · 2d ago
(2023)