News for hackers. Stuff that matters.
Re:Guitar Chord Voicings with Prolog by simplify on Tuesday April 21, 2020 @10:00PM (#22941273)
Prolog is fundamentally well established (~40 years old), and you can start using it today in several programming languages. For example:

JavaScript http://tau-prolog.org

Ruby https://github.com/preston/ruby-prolog

Rust https://github.com/mthom/scryer-prolog

Erlang https://github.com/rvirding/erlog

If your language is missing one, implementing a basic Prolog is fairly simple. Take a look at the Ruby one: it's core is not even 500 lines of code!

There are also great options like SWI Prolog if you want to build your entire app in Prolog. But I imagine it would be much easier to convince a work boss to pull in a library instead :)

Re AI: It's true that Prolog's origins involved AI, but nowadays Prolog is better suited for more general logic programming tasks (there are better tools out there for AI specifically).

Re:Guitar Chord Voicings with Prolog by MisterTea on Wednesday April 22, 2020 @06:20AM (#22944063)
> Erlang https://github.com/rvirding/erlog

Fun fact: Erlang started out as a modified version of Prolog. The original Erlang VM was written in Prolog as well.