HERCs Music Systems


Prolog is a computer language.


Why would you ever want to use Prolog? Well…, if you are a musician, or a music composer and you want to do some programming, then you may not wish to go through a computer science degree. Most likely you will not be interested in objects, classes, aggregates, interfaces, data and control structures, etc. You would probably be looking to by-pass all this low-level technicalities and program “something” anyway. And this is where Prolog can help!


You see, Prolog is based on literally one simple concept called clause. Once you understand how clause works, then you already know the entire mechanism of Prolog. And you can learn this within a day. However, do not be fooled by the perceivable simplicity. It is entirely possible to build very big and complex systems in Prolog. After all, the IBM Watson is partially constructed in Prolog. It takes years of experience to become a proficient computer programmer. And Prolog is no different.

Here you can download a dialect of Prolog, which has a number of “special modifications”.

Why would you ever need this dialect? There are several reasons for it:

1. It is embedded into the Lunar synthesiser as scripting language.

2. It is very small and totally open source. You can embed it into your own project to introduce some AI capabilities.

3. There is a separate implementation written in Java, which can be integrated with Java projects, such as those targeted for Android platform.

4. It has re-worked syntax. You may actually like it better than the original syntax of Prolog.

You can download pre-compiled binary. The whole project is just one single executable.


You can download the entire source code, sampe programs together with documentation directly from GIT-Hub.


Alternatively you can clone the git repository using this URL: git@github.com:HERCsMusicSystems/prolog.git


To save you time with setting up everything you can download the entire Visual Studio solution together with the Lunar project directly from GIT-Hub.


…. or clone git repository using this URL: git@github.com:HERCsMusicSystems/dev.git