Prolog is a declarative programming language. This means that in Prolog, you do not write out what the computer should do line by line, as in procedural languages such as C and Java
sudo pacman -S gprolog
brew install gnu-prolog
gprolog
(it's open)
change_directory('your_directory_path').
consult('les1.pl').
- https://www.tutorialspoint.com/prolog/prolog_hello_world.htm
- http://athena.ecs.csus.edu/~mei/logicp/prolog/programming-examples.html
write('hello').
write('new'), nl,
write('line').
write('Let\'s go!!').