My reasons are threefold
1. I'm updating a program that is specifically about Logic. Prolog is a natural for this.
2. Prolog also represents Trees in a very natural, intuitive way. My pim and some other tools are tree-based, and I want to build various utilities for analysis & conversion.
3. The main reason, has to do with Flow. https://en.wikipedia.org/wiki/Flow_(psychology)
I've been trying to find a language for years that is natural, challenging enough to be absorbing but not so difficult to be frustrating.
Lisps and specifically Clojure seemed to fit these requirements. But after playing with Clojure for a couple of years, I decided that the scrunched-up parentheses were unbearable. Everyone preaches to you, that you will 'get used to it' - but to me it's silly to give up the visual benefits of indentation, in order to conform to standard syntax.
Prolog has a simple consistent syntax, and it seems worth learning well, if only for personal use.
If you're curious about Prolog, the absolute best Youtube site is here:
https://www.youtube.com/watch?v=QM1iUe6IofM
,and his official site is
https://www.metalevel.at/prolog
He goes into details & philosophy that's relevant to the Prolog implementations of today, with modern hardware.
joseluispalma wrote:Hi,
And what can be used for?