Installation of the Prologue in Windows March 12, 2009
Posted by artiko in: Prologue , Windows , add a comment To all who want to start programming in Prolog on Windows I recommend the excellent implementation of SWI-Prolog, developed for many years, and compatible with the standard.
The installation packages are available not only on the Linux platform, but also Mac OS X and Windows (64-bit version works just as well and stable). Installation takes only 30 seconds ![]()
After the installation open the program from the Start Menu Prologue i. so we are ready to work environment.
Have fun ![]()
Here are the latest stable version of SWI-Prolog
PS I also recommend changing the font in the editor (Settings / Font), for example, Courier New, size 10 - well it improves readability.
The origins of the Prologue : March 11, 2009
Posted by artiko in: Prologue , add a comment Recently, the class of the Knowledge Engineering met with the language Prolog. How else to write in it than in the well-known programming languages. However, this difference is somehow endearing, so it is possible to a very simple solution to development programs, which in traditional programming languages deal with hundreds of lines of code.
In particular, he took me, or rather forced to rethink long, one program, here is the code:
sklej([],X,X).
sklej([X|L1],L2,[X|L3]) :-
sklej(L1,L2,L3).
It allows you to glue together two lists. But it turns out that not only makes it possible that they also know the list from which to glue the other to get the third, get to know all the possibilities for sharing the list of sublists, and probably many other ![]()
Either way, Prolog is one of the most interesting programming languages.



