3 ms·
> Prolog feels like one of those things I definitely couldn’t write a whole app in, but I often wish it was just there in other languages the same way regex is.
by dragonwriter 4y ago
> Prolog feels like one of those things I definitely couldn’t write a whole app in, but I often wish it was just there in other languages the same way regex is.
Embedding prolog (or limited versions, like Datalog, or versions of Prolog or Datalog extended with probabilistic, temporal, or other features), or other logic sublanguages like MiniKanren, in other languages isn’t particularly uncommon.