Re:Logica – Declarative logic programming language for data
by rytis on Saturday November 16, 2024 @04:42PM
(#42159604)
I suppose something like this: https://stackoverflow.com/a/8270393
?
Re:Logica – Declarative logic programming language for data
by surgical_fire on Saturday November 16, 2024 @04:54PM
(#42159681)
I had to use Prolog in college, and while I never saw it in the wild - I at least never stumbled upon a scenario where prolog was the answer - I really enjoyed how I had to change how I looked at a problem in order to solve it in prolog.
It also frames your thinking about defining what you want rather than how to get it.
If you really want to see the power of these kinds of languages look up Einstein's puzzle solved with prolog. The solution just magically comes out by entering the constraints of the puzzle.